aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d')
-rw-r--r--rc.d/init.d/netconsole2
-rwxr-xr-xrc.d/init.d/netfs2
-rwxr-xr-xrc.d/init.d/network3
3 files changed, 4 insertions, 3 deletions
diff --git a/rc.d/init.d/netconsole b/rc.d/init.d/netconsole
index dda464c1..17296f8e 100644
--- a/rc.d/init.d/netconsole
+++ b/rc.d/init.d/netconsole
@@ -34,7 +34,7 @@ kernel=$(uname -r | cut -d. -f1-2)
usage ()
{
echo $"Usage: $0 {start|stop|status|restart|condrestart}" 1>&2
- RETVAL=3
+ RETVAL=2
}
print_address_info ()
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index d75c2fd8..17cea9f8 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -166,7 +166,7 @@ case "$1" in
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|status}"
- exit 3
+ exit 2
esac
exit 0
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index fa6c5b9e..0c067427 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -289,10 +289,11 @@ case "$1" in
cd "$CWD"
$0 stop
$0 start
+ rc=$?
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|force-reload}"
- exit 3
+ exit 2
esac
exit $rc