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"