aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-11-28 23:55:42 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-11-28 23:55:42 -0600
commit331d6f14fdf69d6fe17da77db7609bc861145fd6 (patch)
tree0c13ae15dc4f881a8662199d0de45007a493b6fd /support
parentcc0037e9caaee05af0fdedafc5798c2a7aa9bdb8 (diff)
support/init.d.examples: Do not use @PKG_PREFIX@ in service examples
I can't think of a reason to do this since these scripts are just examples. This is for #474.
Diffstat (limited to 'support')
-rw-r--r--support/init.d.examples/avahi-dnsconfd.in2
-rw-r--r--support/init.d.examples/avahid.in2
-rw-r--r--support/init.d.examples/dbus.in2
-rw-r--r--support/init.d.examples/dnsmasq.in2
-rw-r--r--support/init.d.examples/hald.in2
-rw-r--r--support/init.d.examples/openvpn.in4
-rw-r--r--support/init.d.examples/polkitd.in2
7 files changed, 8 insertions, 8 deletions
diff --git a/support/init.d.examples/avahi-dnsconfd.in b/support/init.d.examples/avahi-dnsconfd.in
index 6e117883..d0cf4fc8 100644
--- a/support/init.d.examples/avahi-dnsconfd.in
+++ b/support/init.d.examples/avahi-dnsconfd.in
@@ -9,7 +9,7 @@
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
-command=@PKG_PREFIX@/sbin/avahi-dnsconfd
+command=/sbin/avahi-dnsconfd
command_args="$avahi_dnsconfd_args -D"
pidfile=/var/run/avahi-dnsconfd.pid
name="Avahi DNS Configuration Daemon"
diff --git a/support/init.d.examples/avahid.in b/support/init.d.examples/avahid.in
index 9953bd79..b4ca7c30 100644
--- a/support/init.d.examples/avahid.in
+++ b/support/init.d.examples/avahid.in
@@ -9,7 +9,7 @@
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
-command=@PKG_PREFIX@/sbin/avahi-daemon
+command=/sbin/avahi-daemon
command_args="$avahid_args -D"
pidfile=/var/run/avahi-daemon/pid
name="Avahi Service Advertisement Daemon"
diff --git a/support/init.d.examples/dbus.in b/support/init.d.examples/dbus.in
index 52ee9113..bd7dab7f 100644
--- a/support/init.d.examples/dbus.in
+++ b/support/init.d.examples/dbus.in
@@ -9,7 +9,7 @@
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
-command=@PKG_PREFIX@/bin/dbus-daemon
+command=/bin/dbus-daemon
pidfile=/var/run/dbus/pid
command_args="${dbusd_args---system}"
name="Message Bus Daemon"
diff --git a/support/init.d.examples/dnsmasq.in b/support/init.d.examples/dnsmasq.in
index 52f2b945..2a3828cf 100644
--- a/support/init.d.examples/dnsmasq.in
+++ b/support/init.d.examples/dnsmasq.in
@@ -9,7 +9,7 @@
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
-command=@PKG_PREFIX@/sbin/dnsmasq
+command=/sbin/dnsmasq
command_args=$dnsmasq_args
pidfile=/var/run/dnsmasq.pid
required_files=/etc/dnsmasq.conf
diff --git a/support/init.d.examples/hald.in b/support/init.d.examples/hald.in
index 84dbb401..b88a4614 100644
--- a/support/init.d.examples/hald.in
+++ b/support/init.d.examples/hald.in
@@ -9,7 +9,7 @@
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
-command=@PKG_PREFIX@/sbin/hald
+command=/sbin/hald
pidfile=/var/run/hald/hald.pid
command_args=$hald_args
name="Hardware Abstraction Layer Daemon"
diff --git a/support/init.d.examples/openvpn.in b/support/init.d.examples/openvpn.in
index 1608228e..d80cb295 100644
--- a/support/init.d.examples/openvpn.in
+++ b/support/init.d.examples/openvpn.in
@@ -12,10 +12,10 @@
vpn=${RC_SVCNAME#*.}
name="OpenVPN"
[ "$vpn" != openvpn ] && name="$name ($vpn)"
-command=@PKG_PREFIX@/sbin/openvpn
+command=/sbin/openvpn
pidfile=/var/run/"$RC_SVCNAME".pid
-: ${openvpn_dir:=@PKG_PREFIX@/etc/openvpn}
+: ${openvpn_dir:=/etc/openvpn}
: ${openvpn_config:=$openvpn_dir/$vpn.conf}
command_args="$openvpn_args --daemon --config $openvpn_config"
command_args="$command_args --writepid $pidfile"
diff --git a/support/init.d.examples/polkitd.in b/support/init.d.examples/polkitd.in
index b1292385..b8650f87 100644
--- a/support/init.d.examples/polkitd.in
+++ b/support/init.d.examples/polkitd.in
@@ -9,7 +9,7 @@
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
-command=@PKG_PREFIX@/sbin/polkitd
+command=/sbin/polkitd
pidfile=/var/run/polkitd/polkitd.pid
command_args="$polkitd_args"
name="PolicyKit Daemon"