diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-02-12 17:09:50 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-02-23 20:30:39 -0600 |
commit | 8a44067838e268db88ea2158258f8006cb1344b7 (patch) | |
tree | e04f4dd3248600cc82cb2b3a3c8f8eda7b49e90c /init.d/ttys.in | |
parent | 8c90042dee7cd0d7960c86b9fcfac5f1afec5784 (diff) |
Fix shebangs in services to point to the correct location of runscript
SBINDIR and BINDIR can be set independently of PREFIX. This fixes
broken shebangs in service files when SBINDIR is set to something other
than PREFIX/sbin
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'init.d/ttys.in')
-rw-r--r-- | init.d/ttys.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/ttys.in b/init.d/ttys.in index 2adbe812..aec83408 100644 --- a/init.d/ttys.in +++ b/init.d/ttys.in @@ -1,4 +1,4 @@ -#!@PREFIX@/sbin/runscript +#!@SBINDIR@/runscript # Copyright (c) 2008 Roy Marples <roy@marples.name> # Released under the 2-clause BSD license. |