summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-08-29 16:29:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-08-29 16:29:01 (GMT)
commit25c30209666f591371476d272712e92e7173ce7c (patch)
tree6ea95b7567b6a094af18832bc36953b3f28dd12f /abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run
parent3eeb924c21ef82a144d1fa48c3dd2d571ea4f9bc (diff)
downloadlinhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.zip
linhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.tar.gz
linhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.tar.bz2
mv-core: add fbsplash-runit
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run')
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run22
1 files changed, 11 insertions, 11 deletions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run
index 15ed769..f3f3bf8 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run
@@ -1,13 +1,13 @@
#!/bin/bash
-
- . /etc/rc.conf
- . /etc/rc.d/functions
-
- stat_runit "Starting smartd"
- /usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null
- if [ $? -ne 0 ]; then
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting smartd"
+/usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null
+if [ $? -ne 0 ]
+then
stat_fail
- else
- add_daemon smartd
- stat_done
- fi
+else
+ add_daemon smartd
+ stat_done
+fi