From: <ma...@on...> - 2007-01-22 19:25:09
|
2007/1/18, Jon Steel <jon...@es...>: > When I executed smartd start, it gave me this message: > > Currently the smartmontools package has no init script for > the Unknown OS/distribution. If you can provide one or this > one works after removing some ifdefs, please contact > sma...@li.... > > Im using OpenBSD 4.0. Would you mind giving me a hand? Add this to /etc/rc.local: -------------- # smartctl if [ -x /usr/local/sbin/smartctl ]; then echo -n ' smartctl ' /usr/local/sbin/smartctl -s on /dev/wd0c fi # smartd if [ -x /usr/local/sbin/smartd ]; then echo -n ' smartd ' /usr/local/sbin/smartd --pidfile=/var/run/smartd.pid fi -------------- Btw: smartmontools are in ports. Best Martin |