summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-07-09 08:15:01 +0200
committerMartin Väth <martin@mvath.de>2016-07-09 08:15:01 +0200
commit4e5e07da99dd4c3e20168057126e3694314a670c (patch)
treeb9643143e9a30baffb66b2d0978ed7fe17fd34dc /media-tv/sundtek-tv/files/sundtek.initd
parentapp-cdr/xcdroast: Bump changes from main gentoo repository (diff)
downloadmv-4e5e07da99dd4c3e20168057126e3694314a670c.tar.gz
mv-4e5e07da99dd4c3e20168057126e3694314a670c.tar.bz2
mv-4e5e07da99dd4c3e20168057126e3694314a670c.zip
Bourne-compliant parameter substitution
Diffstat (limited to 'media-tv/sundtek-tv/files/sundtek.initd')
-rw-r--r--media-tv/sundtek-tv/files/sundtek.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/media-tv/sundtek-tv/files/sundtek.initd b/media-tv/sundtek-tv/files/sundtek.initd
index fb374f43..9faf7db2 100644
--- a/media-tv/sundtek-tv/files/sundtek.initd
+++ b/media-tv/sundtek-tv/files/sundtek.initd
@@ -6,12 +6,12 @@ description="sundtek TV mediaclient"
set_preload() {
yesno ${preload:-NO} || return 0
- LD_PRELOAD=${preload_lib:-/usr/lib}/libmediaclient.so${LD_PRELOAD:+ }${LD_PRELOAD-}
+ LD_PRELOAD=${preload_lib:-/usr/lib}/libmediaclient.so${LD_PRELOAD:+\ }${LD_PRELOAD-}
export LD_PRELOAD
}
start() {
- ebegin "Starting ${SVCNAME}"
+ ebegin "Starting $SVCNAME"
(
set_preload
/opt/bin/mediaclient --start=4
@@ -20,7 +20,7 @@ start() {
}
stop() {
- ebegin "Stopping ${SVCNAME}"
+ ebegin "Stopping $SVCNAME"
(
set_preload
timeout -k "${killtime:-15}" "${termtime:-15}" /opt/bin/mediaclient --shutdown