diff options
author | Roy Marples <roy@marples.name> | 2008-03-11 15:00:16 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-11 15:00:16 +0000 |
commit | 40e12f6ba026af9c24d5c3d8e36512719ed5faee (patch) | |
tree | 06251344538a482a801e8750a3a0068ef5f5594a /sh | |
parent | 568ec5f343912f4b63a2db769da68e842a239ae5 (diff) |
RC_SERVICE now points to the service file, so daemons can recall us directly.
Diffstat (limited to 'sh')
-rw-r--r-- | sh/runscript.sh.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index 88e99bd7..be69bb9b 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -18,6 +18,9 @@ if [ -z "$1" -o -z "$2" ]; then exit 1 fi +# So daemons know where to recall us if needed +export RC_SERVICE="$1" + # Descript the init script to the user describe() { |