SOURCES: vrootdevices.init - "echo" does not need root privs :)
glen
glen at pld-linux.org
Tue Jul 3 20:18:14 CEST 2007
Author: glen Date: Tue Jul 3 18:18:14 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- "echo" does not need root privs :)
---- Files affected:
SOURCES:
vrootdevices.init (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/vrootdevices.init
diff -u SOURCES/vrootdevices.init:1.3 SOURCES/vrootdevices.init:1.4
--- SOURCES/vrootdevices.init:1.3 Tue Jul 3 20:17:28 2007
+++ SOURCES/vrootdevices.init Tue Jul 3 20:18:09 2007
@@ -72,13 +72,7 @@
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
+ echo "There is no way to tell"
;;
restart|force-reload)
stop
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/vrootdevices.init?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list