packages: rc-scripts-user/rc-scripts-user.spec, rc-scripts-user/userscripts...
sparky
sparky at pld-linux.org
Mon Jan 31 20:11:03 CET 2011
Author: sparky Date: Mon Jan 31 19:11:03 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- allow passing arguments to run-fast-or-hide
---- Files affected:
packages/rc-scripts-user:
rc-scripts-user.spec (1.4 -> 1.5) , userscripts (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/rc-scripts-user/rc-scripts-user.spec
diff -u packages/rc-scripts-user/rc-scripts-user.spec:1.4 packages/rc-scripts-user/rc-scripts-user.spec:1.5
--- packages/rc-scripts-user/rc-scripts-user.spec:1.4 Mon Jan 31 19:44:00 2011
+++ packages/rc-scripts-user/rc-scripts-user.spec Mon Jan 31 20:10:58 2011
@@ -3,7 +3,7 @@
Summary: Run user scripts
Summary(pl.UTF-8): Uruchom skrypty użytkownika
Name: rc-scripts-user
-Version: 1.3
+Version: 1.4
Release: 1
License: GPL v2+
Group: Applications/System
@@ -48,11 +48,15 @@
# userscripts does not wait for user actions to finish, how much time,
# in seconds, should it wait before continuing system shutdown.
-STOP_WAIT_TIME=5
+STOP_WAIT_TIME=2
# Script priority
NICE=15
+# additional arguments for run-fast-or-hide,
+# check: run-fast-or-hide --help for more info
+# RUN_ARGS="-s 50000"
+
EOF
%clean
@@ -79,6 +83,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2011/01/31 19:10:58 sparky
+- allow passing arguments to run-fast-or-hide
+
Revision 1.4 2011/01/31 18:44:00 sparky
- updated to: 1.3, mostly cosmetics
================================================================
Index: packages/rc-scripts-user/userscripts
diff -u packages/rc-scripts-user/userscripts:1.3 packages/rc-scripts-user/userscripts:1.4
--- packages/rc-scripts-user/userscripts:1.3 Mon Jan 31 19:44:00 2011
+++ packages/rc-scripts-user/userscripts Mon Jan 31 20:10:58 2011
@@ -12,8 +12,9 @@
ALLOWED=""
BANNED=""
-STOP_WAIT_TIME=5
+STOP_WAIT_TIME=2
NICE=15
+RUN_ARGS=""
# subdirectory with user scripts
scripts_dir=".config/init.d"
@@ -84,7 +85,7 @@
continue
fi
- /sbin/run-fast-or-hide -n "$NICE" -u "$user" -- "$script" "$action"
+ /sbin/run-fast-or-hide -n "$NICE" -u "$user" $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.4&r2=1.5&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts-user/userscripts?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list