Line
Link Here
|
0 |
-- sys-apps/smartmontools/files/smartd.rc |
0 |
++ sys-apps/smartmontools/files/smartd.rc |
Lines 8-14
Link Here
|
8 |
after bootmisc |
8 |
after bootmisc |
9 |
} |
9 |
} |
10 |
|
10 |
|
11 |
opts="${opts} reload" |
11 |
extra_started_commands="reload" |
12 |
|
12 |
|
13 |
checkconfig() { |
13 |
checkconfig() { |
14 |
if [ ! -f "/etc/smartd.conf" ] ; then |
14 |
if [ ! -f "/etc/smartd.conf" ] ; then |
Lines 38-43
Link Here
|
38 |
|
38 |
|
39 |
reload() { |
39 |
reload() { |
40 |
ebegin "Reloading configuration" |
40 |
ebegin "Reloading configuration" |
41 |
start-stop-daemon --oknodo --stop --signal HUP --pidfile /var/run/smartd.pid smartd |
41 |
start-stop-daemon --signal HUP --pidfile /var/run/smartd.pid smartd |
42 |
eend $? |
42 |
eend $? |
43 |
} |
43 |
} |