Lines 20-35
Link Here
|
20 |
|
20 |
|
21 |
start() { |
21 |
start() { |
22 |
msg_starting $"Starting up athlon powersaving: " |
22 |
msg_starting $"Starting up athlon powersaving: " |
23 |
start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" -- athcool on $ |
23 |
start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" -- athcool on $EXTRAOPTIONS |
24 |
EXTRAOPTIONS |
|
|
25 |
RETVAL=$? |
24 |
RETVAL=$? |
26 |
return $RETVAL |
25 |
return $RETVAL |
27 |
} |
26 |
} |
28 |
|
27 |
|
29 |
stop() { |
28 |
stop() { |
30 |
msg_stopping $"Shutting down athlon powersaving: " |
29 |
msg_stopping $"Shutting down athlon powersaving: " |
31 |
start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" -- athcool off |
30 |
start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" -- athcool off $EXTRAOPTIONS |
32 |
$EXTRAOPTIONS |
|
|
33 |
RETVAL=$? |
31 |
RETVAL=$? |
34 |
return $RETVAL |
32 |
return $RETVAL |
35 |
} |
33 |
} |