summaryrefslogtreecommitdiff
path: root/recipes/ffalarms/atd-over-fso/atd-startup-restart.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ffalarms/atd-over-fso/atd-startup-restart.patch')
-rw-r--r--recipes/ffalarms/atd-over-fso/atd-startup-restart.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/ffalarms/atd-over-fso/atd-startup-restart.patch b/recipes/ffalarms/atd-over-fso/atd-startup-restart.patch
new file mode 100644
index 0000000000..adea0e1178
--- /dev/null
+++ b/recipes/ffalarms/atd-over-fso/atd-startup-restart.patch
@@ -0,0 +1,17 @@
+--- dist/etc/init.d/atd-orig 2009-03-29 14:20:09.000000000 +0200
++++ dist/etc/init.d/atd 2009-03-29 14:37:31.000000000 +0200
+@@ -20,9 +20,13 @@
+ rm -f /var/spool/at/trigger
+ echo "."
+ ;;
++ restart)
++ $0 stop
++ $0 start
++ ;;
+
+ *)
+- echo "Usage: /etc/init.d/atd {start|stop}"
++ echo "Usage: /etc/init.d/atd {start|stop|restart}"
+ exit 1
+ esac
+