NetworkManager r3705 - in trunk/initscript: Arch Debian Mandriva RedHat Slackware



Author: dcbw
Date: Thu May 29 18:29:51 2008
New Revision: 3705
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3705&view=rev

Log:
Remove unused /sbin/ip check from initscripts (Benoit Boissinot)

Modified:
   trunk/initscript/Arch/networkmanager.in
   trunk/initscript/Debian/NetworkManager
   trunk/initscript/Mandriva/networkmanager.in
   trunk/initscript/RedHat/NetworkManager.in
   trunk/initscript/Slackware/rc.networkmanager.in

Modified: trunk/initscript/Arch/networkmanager.in
==============================================================================
--- trunk/initscript/Arch/networkmanager.in	(original)
+++ trunk/initscript/Arch/networkmanager.in	Thu May 29 18:29:51 2008
@@ -13,9 +13,6 @@
 # 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)

Modified: trunk/initscript/Debian/NetworkManager
==============================================================================
--- trunk/initscript/Debian/NetworkManager	(original)
+++ trunk/initscript/Debian/NetworkManager	Thu May 29 18:29:51 2008
@@ -25,9 +25,6 @@
 # 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.
 #

Modified: trunk/initscript/Mandriva/networkmanager.in
==============================================================================
--- trunk/initscript/Mandriva/networkmanager.in	(original)
+++ trunk/initscript/Mandriva/networkmanager.in	Thu May 29 18:29:51 2008
@@ -28,9 +28,6 @@
 # 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
 

Modified: trunk/initscript/RedHat/NetworkManager.in
==============================================================================
--- trunk/initscript/RedHat/NetworkManager.in	(original)
+++ trunk/initscript/RedHat/NetworkManager.in	Thu May 29 18:29:51 2008
@@ -28,9 +28,6 @@
 # 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
 

Modified: trunk/initscript/Slackware/rc.networkmanager.in
==============================================================================
--- trunk/initscript/Slackware/rc.networkmanager.in	(original)
+++ trunk/initscript/Slackware/rc.networkmanager.in	Thu May 29 18:29:51 2008
@@ -18,9 +18,6 @@
 # Sanity checks.
 [ -x $NETWORKMANAGER_BIN ] || exit 0
 
-# We need /sbin/ip
-[ -x /sbin/ip ] || exit 0
-
 PIDFILE=/var/run/NetworkManager.pid
 
 nm_start()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]