diff options
author | Judd Vinet <judd@archlinux.org> | 2005-07-18 19:17:14 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-07-18 19:17:14 +0000 |
commit | 0be8f5b2d33fc6160e2a62d33fc1f828218fa90a (patch) | |
tree | eec5c40482ba51a4233af43ecec541ad3a7d12d8 | |
parent | 00945333dc1dd08d893a6c42f395e7d3c81dad0d (diff) | |
download | initscripts-0be8f5b2d33fc6160e2a62d33fc1f828218fa90a.tar.xz |
fixed netcfg to remove stale dhcpcd .pid files (#2973)
-rwxr-xr-x | netcfg | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -95,6 +95,8 @@ start_profile() fi if [ "$IFOPTS" = "dhcp" -o "$IFOPTS" = "DHCP" ]; then + # remove the .pid file if it exists + rm -f /etc/dhcpc/dhcpcd-${INTERFACE}.{pid,cache} >/dev/null 2>&1 dhcpcd $DHCPCD_ARGS $INTERFACE [ $? -ne 0 ] && stat_fail && return else |