]> git.pld-linux.org Git - packages/util-vserver.git/blobdiff - vrootdevices.init
- up to pre3002; /etc/tld-release shouldn't be required
[packages/util-vserver.git] / vrootdevices.init
index 7e7ef9fc184611ad3643dc89ebcd0472e5b288c1..8e274abf2e4e9e4cc33354dbfe0f563c0a75c624 100644 (file)
@@ -4,6 +4,8 @@
 #
 # chkconfig:   345 97 03
 # description: Setup vroot devices for use inside vservers
+#
+# $Id$
 
 # Source function library
 . /etc/rc.d/init.d/functions
@@ -71,19 +73,13 @@ case "$1" in
   stop)
        stop
        ;;
-  status)
-       ID=`id -u`
-       if [ $ID -eq 0 ]; then
-               echo "There is no way to tell"
-       else
-               # don't remove the space at the end!!!
-               nls "You need to be root to use this command ! "
-       fi
-       ;;
   restart|force-reload)
        stop
        start
        ;;
+  status)
+       echo "There is no way to tell"
+       ;;
   *)
        msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
        exit 3
This page took 0.070654 seconds and 4 git commands to generate.