]> Shamusworld >> Repos - init-ng/commitdiff
Added start of start-stop-daemon (OpenRC) communication handling.
authorShamus Hammons <jlhamm@acm.org>
Wed, 31 Dec 2014 15:05:09 +0000 (09:05 -0600)
committerShamus Hammons <jlhamm@acm.org>
Wed, 31 Dec 2014 15:05:09 +0000 (09:05 -0600)
.gitignore
init

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..1d45c0a40c81ee6f8501cac7a204a0b9cdca376b 100644 (file)
@@ -0,0 +1 @@
+*.patch
diff --git a/init b/init
index 11b05cafc64ebb332226afb966bed1ce91bb60fa..4e9382132bafb40917613198b91559fa31ee8fb5 100755 (executable)
--- a/init
+++ b/init
@@ -161,6 +161,10 @@ loop do
     # you get nothing if you're ssh'ed in...
     $daemons.each { |key, value| puts(key + ': ' + (value ? '[OK]' : '[!!]') + ' (' + value.to_s + ')') }
     ctl.puts
+  when :start
+    puts('Received start msg from s-s-d: ' + args.to_s)
+  when :stop
+    puts('Received stop msg from s-s-d: ' + args.to_s)
   end
 end