aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d.misc/avahi-dnsconfd.in2
-rw-r--r--init.d.misc/avahid.in2
-rw-r--r--init.d.misc/dbus.in2
-rw-r--r--init.d.misc/dhcpcd.in2
-rw-r--r--init.d.misc/dnsmasq.in2
-rw-r--r--init.d.misc/hald.in2
-rw-r--r--init.d.misc/named.in2
-rw-r--r--init.d.misc/ntpd.in2
-rw-r--r--init.d.misc/openvpn.in2
-rw-r--r--init.d.misc/polkitd.in2
-rw-r--r--init.d.misc/sshd.in2
-rw-r--r--init.d.misc/wpa_supplicant.in2
-rw-r--r--init.d/adjkerntz.in2
-rw-r--r--init.d/bootmisc.in2
-rw-r--r--init.d/consolefont.in2
-rw-r--r--init.d/devd.in2
-rw-r--r--init.d/devdb.in2
-rw-r--r--init.d/devfs.in2
-rw-r--r--init.d/dmesg.in2
-rw-r--r--init.d/dumpon.in2
-rw-r--r--init.d/encswap.in2
-rw-r--r--init.d/fsck.in2
-rw-r--r--init.d/hostid.in2
-rw-r--r--init.d/hostname.in2
-rw-r--r--init.d/hwclock.in2
-rw-r--r--init.d/ipfw.in2
-rw-r--r--init.d/keymaps.in2
-rw-r--r--init.d/killprocs.in2
-rw-r--r--init.d/local.in2
-rw-r--r--init.d/localmount.in2
-rw-r--r--init.d/mixer.in2
-rw-r--r--init.d/modules.in2
-rw-r--r--init.d/mount-ro.in2
-rw-r--r--init.d/moused.in2
-rw-r--r--init.d/mtab.in2
-rw-r--r--init.d/net.lo.in2
-rw-r--r--init.d/netmount.in2
-rw-r--r--init.d/network.in2
-rw-r--r--init.d/newsyslog.in2
-rw-r--r--init.d/nscd.in2
-rw-r--r--init.d/numlock.in2
-rw-r--r--init.d/pf.in2
-rw-r--r--init.d/powerd.in2
-rw-r--r--init.d/procfs.in2
-rw-r--r--init.d/rarpd.in2
-rw-r--r--init.d/rc-enabled.in2
-rw-r--r--init.d/root.in2
-rw-r--r--init.d/rpcbind.in2
-rw-r--r--init.d/savecache.in2
-rw-r--r--init.d/savecore.in2
-rw-r--r--init.d/staticroute.in2
-rw-r--r--init.d/swap-blk.in2
-rw-r--r--init.d/swap.in2
-rw-r--r--init.d/swapfiles.in2
-rw-r--r--init.d/swclock.in4
-rw-r--r--init.d/syscons.in2
-rw-r--r--init.d/sysctl.BSD.in2
-rw-r--r--init.d/sysctl.Linux.in2
-rw-r--r--init.d/sysfs.in2
-rw-r--r--init.d/syslogd.in2
-rw-r--r--init.d/termencoding.in2
-rw-r--r--init.d/tmpfiles.setup.in2
-rw-r--r--init.d/ttys.in2
-rw-r--r--init.d/urandom.in2
-rw-r--r--init.d/wscons.in2
-rw-r--r--sh/gendepends.sh.in4
66 files changed, 68 insertions, 68 deletions
diff --git a/init.d.misc/avahi-dnsconfd.in b/init.d.misc/avahi-dnsconfd.in
index 423ec913..abe2d228 100644
--- a/init.d.misc/avahi-dnsconfd.in
+++ b/init.d.misc/avahi-dnsconfd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/avahid.in b/init.d.misc/avahid.in
index ebda61cb..ea2241bb 100644
--- a/init.d.misc/avahid.in
+++ b/init.d.misc/avahid.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/dbus.in b/init.d.misc/dbus.in
index 94057b9c..d0004e71 100644
--- a/init.d.misc/dbus.in
+++ b/init.d.misc/dbus.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/dhcpcd.in b/init.d.misc/dhcpcd.in
index 9e8469e2..b22d4d1b 100644
--- a/init.d.misc/dhcpcd.in
+++ b/init.d.misc/dhcpcd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/dnsmasq.in b/init.d.misc/dnsmasq.in
index 1d5c9aae..bdb04118 100644
--- a/init.d.misc/dnsmasq.in
+++ b/init.d.misc/dnsmasq.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/hald.in b/init.d.misc/hald.in
index 7c287607..741442f6 100644
--- a/init.d.misc/hald.in
+++ b/init.d.misc/hald.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/named.in b/init.d.misc/named.in
index 4dafd888..924f5b5a 100644
--- a/init.d.misc/named.in
+++ b/init.d.misc/named.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/ntpd.in b/init.d.misc/ntpd.in
index 0036feb8..6f185212 100644
--- a/init.d.misc/ntpd.in
+++ b/init.d.misc/ntpd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/openvpn.in b/init.d.misc/openvpn.in
index ef37e195..79156232 100644
--- a/init.d.misc/openvpn.in
+++ b/init.d.misc/openvpn.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/polkitd.in b/init.d.misc/polkitd.in
index 2fac3851..fda07648 100644
--- a/init.d.misc/polkitd.in
+++ b/init.d.misc/polkitd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/sshd.in b/init.d.misc/sshd.in
index 20be7703..7efb666b 100644
--- a/init.d.misc/sshd.in
+++ b/init.d.misc/sshd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d.misc/wpa_supplicant.in b/init.d.misc/wpa_supplicant.in
index 22d7e0fd..f908e364 100644
--- a/init.d.misc/wpa_supplicant.in
+++ b/init.d.misc/wpa_supplicant.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/adjkerntz.in b/init.d/adjkerntz.in
index 76ad175f..d1349c88 100644
--- a/init.d/adjkerntz.in
+++ b/init.d/adjkerntz.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 4fdb4338..565f6f21 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/consolefont.in b/init.d/consolefont.in
index 0e91d130..61e76c3c 100644
--- a/init.d/consolefont.in
+++ b/init.d/consolefont.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/devd.in b/init.d/devd.in
index b474b759..395dfa73 100644
--- a/init.d/devd.in
+++ b/init.d/devd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/devdb.in b/init.d/devdb.in
index fcf25977..92137589 100644
--- a/init.d/devdb.in
+++ b/init.d/devdb.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.
diff --git a/init.d/devfs.in b/init.d/devfs.in
index 28346540..36955f38 100644
--- a/init.d/devfs.in
+++ b/init.d/devfs.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/dmesg.in b/init.d/dmesg.in
index 11884832..1c72f76a 100644
--- a/init.d/dmesg.in
+++ b/init.d/dmesg.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/dumpon.in b/init.d/dumpon.in
index 4450bf94..fdbdd49c 100644
--- a/init.d/dumpon.in
+++ b/init.d/dumpon.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/encswap.in b/init.d/encswap.in
index bb52735e..57cc7629 100644
--- a/init.d/encswap.in
+++ b/init.d/encswap.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright 1992-2012 FreeBSD Project
# Released under the 2-clause BSD license
diff --git a/init.d/fsck.in b/init.d/fsck.in
index 83224522..8c460f71 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/hostid.in b/init.d/hostid.in
index b682b3de..e98ff91d 100644
--- a/init.d/hostid.in
+++ b/init.d/hostid.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/hostname.in b/init.d/hostname.in
index 5eea7f0d..43745488 100644
--- a/init.d/hostname.in
+++ b/init.d/hostname.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/hwclock.in b/init.d/hwclock.in
index eb44f62a..0f949936 100644
--- a/init.d/hwclock.in
+++ b/init.d/hwclock.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/ipfw.in b/init.d/ipfw.in
index 434920d4..a455e299 100644
--- a/init.d/ipfw.in
+++ b/init.d/ipfw.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/keymaps.in b/init.d/keymaps.in
index 58892682..7abd7314 100644
--- a/init.d/keymaps.in
+++ b/init.d/keymaps.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/killprocs.in b/init.d/killprocs.in
index 7f1cf917..5c959255 100644
--- a/init.d/killprocs.in
+++ b/init.d/killprocs.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/local.in b/init.d/local.in
index 87cca7d1..fb2f9b16 100644
--- a/init.d/local.in
+++ b/init.d/local.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/localmount.in b/init.d/localmount.in
index 7d6c3050..9cbbd415 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/mixer.in b/init.d/mixer.in
index a08aea13..a658e577 100644
--- a/init.d/mixer.in
+++ b/init.d/mixer.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/modules.in b/init.d/modules.in
index 72f14e76..0d6d21bf 100644
--- a/init.d/modules.in
+++ b/init.d/modules.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in
index 41b0b9ee..f8d72586 100644
--- a/init.d/mount-ro.in
+++ b/init.d/mount-ro.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/moused.in b/init.d/moused.in
index cdcf36ad..ffbed767 100644
--- a/init.d/moused.in
+++ b/init.d/moused.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/mtab.in b/init.d/mtab.in
index a32b8d60..beee3e10 100644
--- a/init.d/mtab.in
+++ b/init.d/mtab.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index b6773fe9..95744f8b 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/netmount.in b/init.d/netmount.in
index fd577d5f..dbf921b8 100644
--- a/init.d/netmount.in
+++ b/init.d/netmount.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/network.in b/init.d/network.in
index 13895f0c..898b0a8e 100644
--- a/init.d/network.in
+++ b/init.d/network.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/newsyslog.in b/init.d/newsyslog.in
index 6cf72e65..1cbbe952 100644
--- a/init.d/newsyslog.in
+++ b/init.d/newsyslog.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/nscd.in b/init.d/nscd.in
index 6d3c0c58..41e42ae7 100644
--- a/init.d/nscd.in
+++ b/init.d/nscd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/numlock.in b/init.d/numlock.in
index 3cb8bee3..433ba93e 100644
--- a/init.d/numlock.in
+++ b/init.d/numlock.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/pf.in b/init.d/pf.in
index 1097ac85..aed6539d 100644
--- a/init.d/pf.in
+++ b/init.d/pf.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/powerd.in b/init.d/powerd.in
index 10ffeccb..88f050d4 100644
--- a/init.d/powerd.in
+++ b/init.d/powerd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/procfs.in b/init.d/procfs.in
index 7b7c6e65..1432ecff 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/rarpd.in b/init.d/rarpd.in
index daacb419..8ea29acc 100644
--- a/init.d/rarpd.in
+++ b/init.d/rarpd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/rc-enabled.in b/init.d/rc-enabled.in
index 9ba73b0a..fed30ce6 100644
--- a/init.d/rc-enabled.in
+++ b/init.d/rc-enabled.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/root.in b/init.d/root.in
index c8ae4f12..387f205c 100644
--- a/init.d/root.in
+++ b/init.d/root.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/rpcbind.in b/init.d/rpcbind.in
index 7c70871c..77d6c87c 100644
--- a/init.d/rpcbind.in
+++ b/init.d/rpcbind.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/savecache.in b/init.d/savecache.in
index 581be598..3dec78b5 100644
--- a/init.d/savecache.in
+++ b/init.d/savecache.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/savecore.in b/init.d/savecore.in
index c55a0ab6..e256fbaf 100644
--- a/init.d/savecore.in
+++ b/init.d/savecore.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/staticroute.in b/init.d/staticroute.in
index 213dddf6..55d0680e 100644
--- a/init.d/staticroute.in
+++ b/init.d/staticroute.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/swap-blk.in b/init.d/swap-blk.in
index a7862ee2..4ddf61c4 100644
--- a/init.d/swap-blk.in
+++ b/init.d/swap-blk.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/swap.in b/init.d/swap.in
index fa08b4d0..4d7a02cf 100644
--- a/init.d/swap.in
+++ b/init.d/swap.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/swapfiles.in b/init.d/swapfiles.in
index baf75913..ec73baa0 100644
--- a/init.d/swapfiles.in
+++ b/init.d/swapfiles.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/swclock.in b/init.d/swclock.in
index 077f258d..465f76cf 100644
--- a/init.d/swclock.in
+++ b/init.d/swclock.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
@@ -17,7 +17,7 @@ start()
{
ebegin "Setting the local clock based on last shutdown time"
if ! swclock 2> /dev/null; then
- swclock --warn @PREFIX@/sbin/runscript
+ swclock --warn @SBINDIR@/runscript
fi
eend $?
}
diff --git a/init.d/syscons.in b/init.d/syscons.in
index 06669471..6a7523b2 100644
--- a/init.d/syscons.in
+++ b/init.d/syscons.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/sysctl.BSD.in b/init.d/sysctl.BSD.in
index c7d2028f..9f84e36f 100644
--- a/init.d/sysctl.BSD.in
+++ b/init.d/sysctl.BSD.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/sysctl.Linux.in b/init.d/sysctl.Linux.in
index 119f6ee9..2413154d 100644
--- a/init.d/sysctl.Linux.in
+++ b/init.d/sysctl.Linux.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index 85bc083f..114a6530 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/syslogd.in b/init.d/syslogd.in
index 817afa1a..28090f29 100644
--- a/init.d/syslogd.in
+++ b/init.d/syslogd.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/termencoding.in b/init.d/termencoding.in
index a8a96e56..d03633d3 100644
--- a/init.d/termencoding.in
+++ b/init.d/termencoding.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2008-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/tmpfiles.setup.in b/init.d/tmpfiles.setup.in
index a3ecd314..81bc3696 100644
--- a/init.d/tmpfiles.setup.in
+++ b/init.d/tmpfiles.setup.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright 1999-2012 Gentoo Foundation
# Released under the 2-clause BSD license.
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.
diff --git a/init.d/urandom.in b/init.d/urandom.in
index 2dfe1cc4..97d04077 100644
--- a/init.d/urandom.in
+++ b/init.d/urandom.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/init.d/wscons.in b/init.d/wscons.in
index 5d94eff1..35bd2b01 100644
--- a/init.d/wscons.in
+++ b/init.d/wscons.in
@@ -1,4 +1,4 @@
-#!@PREFIX@/sbin/runscript
+#!@SBINDIR@/runscript
# Copyright (c) 2008-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in
index f78f3d32..461c6882 100644
--- a/sh/gendepends.sh.in
+++ b/sh/gendepends.sh.in
@@ -53,8 +53,8 @@ do
# Only generate dependencies for runscripts
read one two three <"$RC_SERVICE"
- [ "$one" = "#!@PREFIX@/sbin/runscript" ] || \
- [ "$one" = "#!" -a "$two" = "@PREFIX@/sbin/runscript" ] || \
+ [ "$one" = "#!@SBINDIR@/runscript" ] || \
+ [ "$one" = "#!" -a "$two" = "@SBINDIR@/runscript" ] || \
continue
unset one two three