Remove unused /sbin/ip check from initscripts (Benoit Boissinot)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3705 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -13,9 +13,6 @@ NETWORKMANAGER_BIN=${sbindir}/NetworkManager
|
||||
# Sanity checks.
|
||||
[ -x $NETWORKMANAGER_BIN ] || exit 0
|
||||
|
||||
# We need /usr/sbin/ip
|
||||
[ -x /usr/sbin/ip ] || exit 0
|
||||
|
||||
PID=`pidof -o %PPID $NETWORKMANAGER_BIN`
|
||||
case "$1" in
|
||||
start)
|
||||
|
@@ -25,9 +25,6 @@ USER=root
|
||||
# Gracefully exit if the package has been removed.
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
# We need /sbin/ip
|
||||
[ -x /sbin/ip ] || exit 1
|
||||
|
||||
#
|
||||
# Function that starts the daemon/service.
|
||||
#
|
||||
|
@@ -28,9 +28,6 @@ NETWORKMANAGER_BIN=${sbindir}/NetworkManager
|
||||
# Sanity checks.
|
||||
[ -x $NETWORKMANAGER_BIN ] || exit 1
|
||||
|
||||
# We need /sbin/ip
|
||||
[ -x /sbin/ip ] || exit 1
|
||||
|
||||
# Source function library.
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
|
@@ -28,9 +28,6 @@ NETWORKMANAGER_BIN=${sbindir}/NetworkManager
|
||||
# Sanity checks.
|
||||
[ -x $NETWORKMANAGER_BIN ] || exit 1
|
||||
|
||||
# We need /sbin/ip
|
||||
[ -x /sbin/ip ] || exit 1
|
||||
|
||||
# Source function library.
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
|
@@ -18,9 +18,6 @@ NETWORKMANAGER_BIN=${sbindir}/NetworkManager
|
||||
# Sanity checks.
|
||||
[ -x $NETWORKMANAGER_BIN ] || exit 0
|
||||
|
||||
# We need /sbin/ip
|
||||
[ -x /sbin/ip ] || exit 0
|
||||
|
||||
PIDFILE=/var/run/NetworkManager.pid
|
||||
|
||||
nm_start()
|
||||
|
Reference in New Issue
Block a user