diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-01 21:19:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-01 21:19:11 +0100 |
commit | f2463372c9e35cf640f1b0ccede0314a239b0d25 (patch) | |
tree | d0136965860008a32e72bfac7442bc35d694758c /package/mt-daapd | |
parent | 72a7d18f2fa0330212333dd95c18f2278c021cee (diff) |
fix startup scripts, when variable is not set in /etc/rc.conf
Diffstat (limited to 'package/mt-daapd')
-rw-r--r-- | package/mt-daapd/files/mt-daapd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mt-daapd/files/mt-daapd.init b/package/mt-daapd/files/mt-daapd.init index 4ad5f2553..d150807a5 100644 --- a/package/mt-daapd/files/mt-daapd.init +++ b/package/mt-daapd/files/mt-daapd.init @@ -7,7 +7,7 @@ case $1 in autostop) ;; autostart) - [[ $mt_daapd = NO ]] && exit 0 + test x"${mt_daapd:-NO}" = x"NO" && exit 0 exec sh $0 start ;; start) |