# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="IBM Hard Disk Active Protection System (HDAPS) daemon"
NAME=hdapsd
DAEMON=/usr/sbin/$NAME
DAEMON_ARGS=""
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
START="no"
DISK="sda" <- her i put sda
SENSITIVITY=15
OPTIONS=""
BUT when i restart the service:
gagarine@area42:~$ sudo /etc/init.d/hdapsd start
* Not starting hdapsd: /sys/block/hda/queue/protect does not exist
gagarine@area42:~$
I have the same error... I very don't understand :/
Yeah i have a sda hd.
So I change the /etc/init.d/hdapds:
# PATH should only include /usr/* if it runs after the mountnfs.sh script /usr/sbin: /bin:/usr/ bin /usr/sbin/ $NAME /var/run/ $NAME.pid /etc/init. d/$NAME
PATH=/sbin:
DESC="IBM Hard Disk Active Protection System (HDAPS) daemon"
NAME=hdapsd
DAEMON=
DAEMON_ARGS=""
PIDFILE=
SCRIPTNAME=
START="no"
DISK="sda" <- her i put sda
SENSITIVITY=15
OPTIONS=""
BUT when i restart the service: hda/queue/ protect does not exist
gagarine@area42:~$ sudo /etc/init.d/hdapsd start
* Not starting hdapsd: /sys/block/
gagarine@area42:~$
I have the same error... I very don't understand :/