diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-06-29 19:21:50 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-06-29 19:21:50 +0200 |
commit | 8fc89366e2bced3c6297c82e6210172c26153339 (patch) | |
tree | 42de575b8f5876d9e232aee34713c78702814505 /src/hddtemp/rc.d | |
parent | 16f35df436febb8796a8a658ddd1b723a1be29b0 (diff) | |
download | rcdscripts-8fc89366e2bced3c6297c82e6210172c26153339.tar.xz |
rcdscripts: dcron and hddtemp /usr/sbin deprecation
Diffstat (limited to 'src/hddtemp/rc.d')
-rwxr-xr-x | src/hddtemp/rc.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hddtemp/rc.d b/src/hddtemp/rc.d index 62f0908..d12e0df 100755 --- a/src/hddtemp/rc.d +++ b/src/hddtemp/rc.d @@ -6,11 +6,11 @@ PARAMS= DRIVES= [ -f /etc/conf.d/hddtemp ] && . /etc/conf.d/hddtemp -PID=$(pidof -o %PPID /usr/sbin/hddtemp) +PID=$(pidof -o %PPID /usr/bin/hddtemp) case "$1" in start) stat_busy "Starting HDDTemp" - [ -z "$PID" ] && /usr/sbin/hddtemp -d $PARAMS $DRIVES + [ -z "$PID" ] && /usr/bin/hddtemp -d $PARAMS $DRIVES if [ $? -gt 0 ]; then stat_fail else |