Ensure that our scripts call prefixed runscript.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
command=@PREFIX@/sbin/avahi-dnsconfd
|
||||
command=@PKG_PREFIX@/sbin/avahi-dnsconfd
|
||||
command_args="${avahi_dnsconfd_args} -D"
|
||||
pidfile=@VARBASE@/run/avahi-dnsconfd.pid
|
||||
name="Avahi DNS Configuration Daemon"
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
command=@PREFIX@%%/sbin/avahi-daemon
|
||||
command=@PKG_PREFIX@/sbin/avahi-daemon
|
||||
command_args="${avahid_args} -D"
|
||||
pidfile=@VARBASE@/run/avahi-daemon/pid
|
||||
name="Avahi Service Advertisement Daemon"
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
command=@PREFIX@%%/bin/dbus-daemon
|
||||
command=@PKG_PREFIX@/bin/dbus-daemon
|
||||
pidfile=@VARBASE@/run/dbus/dbus.pid
|
||||
command_args="${dbusd_args---system}"
|
||||
name="Message Bus Daemon"
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
command=@PREFIX@/sbin/dnsmasq
|
||||
command=@PKG_PREFIX@/sbin/dnsmasq
|
||||
command_args=${dnsmasq_args}
|
||||
pidfile=@VARBASE@/run/dnsmasq.pid
|
||||
required_files=/etc/dnsmasq.conf
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
command=@PREFIX@/sbin/hald
|
||||
command=@PKG_PREFIX@/sbin/hald
|
||||
pidfile=@VARBASE@/run/hald/hald.pid
|
||||
command_args="${hald_args}"
|
||||
name="Hardware Abstraction Layer Daemon"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
|
@@ -1,14 +1,14 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
vpn=${SVCNAME#*.}
|
||||
name="OpenVPN"
|
||||
[ "${vpn}" != "openvpn" ] && name="${name} (${vpn})"
|
||||
command=@PREFIX@/sbin/openvpn
|
||||
command=@PKG_PREFIX@/sbin/openvpn
|
||||
|
||||
pidfile=@VARBASE@/run/"${SVCNAME}".pid
|
||||
openvpn_dir=${openvpn_dir:-@PREFIX@/etc/openvpn}
|
||||
openvpn_dir=${openvpn_dir:-@PKG_PREFIX@/etc/openvpn}
|
||||
openvpn_config=${openvpn_config:-${openvpn_dir}/${vpn}.conf}
|
||||
command_args="${openvpn_args} --daemon --config ${openvpn_config} --writepid ${pidfile}"
|
||||
required_dirs="${openvpn_dir}"
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
command=@PREFIX@/sbin/polkitd
|
||||
command=@PKG_PREFIX@/sbin/polkitd
|
||||
pidfile=@VARBASE@/run/polkitd/polkitd.pid
|
||||
command_args="${polkitd_args}"
|
||||
name="PolicyKit Daemon"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/sbin/runscript
|
||||
#!@PREFIX@/sbin/runscript
|
||||
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||
# All rights reserved. Released under the 2-clause BSD license.
|
||||
|
||||
|
Reference in New Issue
Block a user