diff options
author | root | 2021-11-03 15:08:22 +0100 |
---|---|---|
committer | root | 2021-11-03 15:08:22 +0100 |
commit | 0a5e77437791305ea5080ae5385facdf623f9027 (patch) | |
tree | 000683e842220bd48686eb25d70eaa8e5d2f7a84 /minissdpd.openrc-initd | |
parent | 5563a54c437c2790cd2d180edcc6ac1776ac2fab (diff) | |
download | aur-0a5e77437791305ea5080ae5385facdf623f9027.tar.gz |
Fixed an inconsistency between /etc/conf.d/minissdpd and /etc/init.d/minissdpd.
Diffstat (limited to 'minissdpd.openrc-initd')
-rwxr-xr-x | minissdpd.openrc-initd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/minissdpd.openrc-initd b/minissdpd.openrc-initd index 5958e37b21e0..f46fc16e8d25 100755 --- a/minissdpd.openrc-initd +++ b/minissdpd.openrc-initd @@ -8,6 +8,7 @@ depend() { ### The following configuration settings can be set in /etc/conf.d/minissdpd -- note that "_IFACE" _must_ be set there!, for the others "minissdpd" has defaults: # _IFACE -- Where to listen on -- specify either an IPv4 address with mask (e.g. "192.168.1.42/255.255.255.0"), or a network interface name (e.g. "eth0"). Can be multiple entries, specified as a bash array. +# _DAEMON -- The daemon to run # _PIDFILE -- Use the following PID-file: # _SOCKET -- Communicate via the following socket: # _IP6 -- Should we enable IPv6 in addidion to IPv4? @@ -17,10 +18,9 @@ depend() { # _LOGFILE -- Logfile whis is used in case $_DEBUG is true -# The exeecutable to run -_DAEMON="/usr/bin/minissdpd" - - +if [ -z "${_DAEMON}" ]; then + _DAEMON="/usr/bin/minissdpd" +fi if [ -z "${_SOCKET}" ]; then _SOCKET='/var/run/minissdpd.sock' fi |