arguments in rc for triggered programs...

...using 'renice' as example and first user

(also had to re-arrange rc file to a more sensible order)
This commit is contained in:
Sitaram Chamarty 2012-03-25 10:43:36 +05:30
parent cb9794d55b
commit 2139099706
4 changed files with 54 additions and 37 deletions

5
src/commands/renice Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
n=$1
[ "$n" = "PRE_GIT" ] && n=10
renice -n $n $GL_TID >/dev/null