dhclient is now in /sbin.
This commit is contained in:
parent
5051d0ac60
commit
c6b0cb111f
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: pccard_ether,v 1.9 1998/09/02 01:34:56 brian Exp $
|
||||
# $Id: pccard_ether,v 1.10 1999/02/10 18:08:16 jkh Exp $
|
||||
#
|
||||
# pccard_ether interfacename [ifconfig option]
|
||||
#
|
||||
@ -16,12 +16,12 @@ fi
|
||||
|
||||
if [ "x$pccard_ifconfig" != "xNO" ] ; then
|
||||
if [ "x$pccard_ifconfig" = "xDHCP" ] ; then
|
||||
if [ -f /usr/local/sbin/dhclient ] ; then
|
||||
if [ -f /sbin/dhclient ] ; then
|
||||
if [ -s /var/run/dhclient.pid ] ; then
|
||||
kill `cat /var/run/dhclient.pid`
|
||||
rm /var/run/dhclient.pid
|
||||
fi
|
||||
/usr/local/sbin/dhclient
|
||||
/sbin/dhclient
|
||||
elif [ -f /usr/local/sbin/dhcpc ] ; then
|
||||
if [ -s /var/run/dhcpc.pid ] ; then
|
||||
kill `cat /var/run/dhcpc.pid`
|
||||
|
Loading…
x
Reference in New Issue
Block a user