summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-03 14:18:58 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-03 14:18:58 +0000
commitc83271d8c36d6fe9cca437b4506c004c9dd588b4 (patch)
tree74b7b367d7c0fc36ad22de549794770b02b85221 /sys-apps/smartmontools/files
parentStable on sparc wrt #75213 (diff)
downloadhistorical-c83271d8c36d6fe9cca437b4506c004c9dd588b4.tar.gz
historical-c83271d8c36d6fe9cca437b4506c004c9dd588b4.tar.bz2
historical-c83271d8c36d6fe9cca437b4506c004c9dd588b4.zip
Update docs #76337 by Daniel Holth.
Diffstat (limited to 'sys-apps/smartmontools/files')
-rw-r--r--sys-apps/smartmontools/files/smartd.rc7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-apps/smartmontools/files/smartd.rc b/sys-apps/smartmontools/files/smartd.rc
index c4a5c3c79381..a0cfa4a404f2 100644
--- a/sys-apps/smartmontools/files/smartd.rc
+++ b/sys-apps/smartmontools/files/smartd.rc
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.4 2004/10/10 01:19:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.5 2005/01/03 14:18:58 vapier Exp $
opts="${opts} reload"
checkconfig() {
if [ ! -f "/etc/smartd.conf" ] ; then
eerror "You should setup your /etc/smartd.conf file!"
- eerror "See sample conf: /etc/smartd.conf.example"
+ eerror "See the smartd.conf(5) manpage."
return 1
fi
return 0
@@ -18,8 +18,7 @@ start() {
checkconfig || return 1
ebegin "Starting S.M.A.R.T. monitoring daemon"
- start-stop-daemon --start --exec /usr/sbin/smartd \
- -- -p /var/run/smartd.pid ${SMARTD_OPTS}
+ /usr/sbin/smartd -p /var/run/smartd.pid ${SMARTD_OPTS}
eend $?
}