packages: rc-scripts-user/rc-scripts-user.spec, rc-scripts-user/userscripts...
sparky
sparky at pld-linux.org
Mon Jan 31 20:34:12 CET 2011
Author: sparky Date: Mon Jan 31 19:34:12 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- 1.5: back to "su" for user management
---- Files affected:
packages/rc-scripts-user:
rc-scripts-user.spec (1.5 -> 1.6) , userscripts (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/rc-scripts-user/rc-scripts-user.spec
diff -u packages/rc-scripts-user/rc-scripts-user.spec:1.5 packages/rc-scripts-user/rc-scripts-user.spec:1.6
--- packages/rc-scripts-user/rc-scripts-user.spec:1.5 Mon Jan 31 20:10:58 2011
+++ packages/rc-scripts-user/rc-scripts-user.spec Mon Jan 31 20:34:07 2011
@@ -3,7 +3,7 @@
Summary: Run user scripts
Summary(pl.UTF-8): Uruchom skrypty użytkownika
Name: rc-scripts-user
-Version: 1.4
+Version: 1.5
Release: 1
License: GPL v2+
Group: Applications/System
@@ -83,6 +83,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2011/01/31 19:34:07 sparky
+- 1.5: back to "su" for user management
+
Revision 1.5 2011/01/31 19:10:58 sparky
- allow passing arguments to run-fast-or-hide
================================================================
Index: packages/rc-scripts-user/userscripts
diff -u packages/rc-scripts-user/userscripts:1.4 packages/rc-scripts-user/userscripts:1.5
--- packages/rc-scripts-user/userscripts:1.4 Mon Jan 31 20:10:58 2011
+++ packages/rc-scripts-user/userscripts Mon Jan 31 20:34:07 2011
@@ -85,7 +85,7 @@
continue
fi
- /sbin/run-fast-or-hide -n "$NICE" -u "$user" $RUN_ARGS -- "$script" "$action"
+ su - "$user" -c "exec /sbin/run-fast-or-hide -n '$NICE' $RUN_ARGS -- '$script' '$action'"
local RET=$?
deltext
if [ $RET -eq 250 ]; then
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts-user/rc-scripts-user.spec?r1=1.5&r2=1.6&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts-user/userscripts?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list