diff options
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/at/files/S99at | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/at/files/S99at b/meta/recipes-extended/at/files/S99at index 386f8a497e..eca379b3cd 100644 --- a/meta/recipes-extended/at/files/S99at +++ b/meta/recipes-extended/at/files/S99at | |||
@@ -5,6 +5,9 @@ | |||
5 | 5 | ||
6 | umask 077 | 6 | umask 077 |
7 | 7 | ||
8 | # Source function library. | ||
9 | . /etc/init.d/functions | ||
10 | |||
8 | start() { | 11 | start() { |
9 | echo -n "Starting atd: " | 12 | echo -n "Starting atd: " |
10 | start-stop-daemon --start --quiet --pidfile /var/run/atd.pid --background --exec /usr/sbin/atd -- -f | 13 | start-stop-daemon --start --quiet --pidfile /var/run/atd.pid --background --exec /usr/sbin/atd -- -f |
@@ -30,8 +33,11 @@ case "$1" in | |||
30 | restart|reload) | 33 | restart|reload) |
31 | restart | 34 | restart |
32 | ;; | 35 | ;; |
36 | status) | ||
37 | status /usr/sbin/atd | ||
38 | ;; | ||
33 | *) | 39 | *) |
34 | echo $"Usage: $0 {start|stop|restart}" | 40 | echo $"Usage: $0 {start|stop|restart|status}" |
35 | exit 1 | 41 | exit 1 |
36 | esac | 42 | esac |
37 | 43 | ||