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:
Dan Williams
2008-05-29 18:29:51 +00:00
parent b84c65490c
commit bd775190db
5 changed files with 0 additions and 15 deletions

View File

@@ -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)

View File

@@ -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.
#

View File

@@ -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

View File

@@ -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

View File

@@ -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()