summaryrefslogtreecommitdiff
path: root/recipes/ffalarms/atd-over-fso/init.d-atd-restart.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:26:06 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:57:44 +0100
commit6cc72681e13ae441ebb6af30f7f183b7d19f0f43 (patch)
treeb726b109b685ce3114a5415a45aeb2e1f50eda8c /recipes/ffalarms/atd-over-fso/init.d-atd-restart.patch
parenta24c1e613252bdd25b000c9452642b35799ef510 (diff)
ffalarms: new recipe from SHR
Diffstat (limited to 'recipes/ffalarms/atd-over-fso/init.d-atd-restart.patch')
-rw-r--r--recipes/ffalarms/atd-over-fso/init.d-atd-restart.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/ffalarms/atd-over-fso/init.d-atd-restart.patch b/recipes/ffalarms/atd-over-fso/init.d-atd-restart.patch
new file mode 100644
index 0000000000..11742d9937
--- /dev/null
+++ b/recipes/ffalarms/atd-over-fso/init.d-atd-restart.patch
@@ -0,0 +1,17 @@
+--- S97atd-orig 2009-03-29 11:59:02.000000000 +0200
++++ S97atd 2009-03-29 12:03:07.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
+