From 23fba266a9454ee6ca095b7f6eccf523f6526607 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 2 Mar 2019 09:41:24 +0000 Subject: Save pending changes in 1.0.0.0 branch --- examples/rc.init | 19 ------------------- examples/rc.shutdown | 16 ---------------- 2 files changed, 35 deletions(-) delete mode 100755 examples/rc.init delete mode 100755 examples/rc.shutdown (limited to 'examples') diff --git a/examples/rc.init b/examples/rc.init deleted file mode 100755 index afc7735..0000000 --- a/examples/rc.init +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/execlineb -P - -# Set the system clock to something sensible, -# to get coherent logs until the initial NTP exchange - -if { s6-clock @400000005a58000000000000 } - - -# Initialize the service manager - -if { s6-rc-init /run/service } - - -# Run the service manager. -# Call it twice because the first time may spuriously "timeout" -# due to the clock jumping forward. - -if -nt { s6-rc -t 600000 -- change ok-all } -s6-rc -t 600000 -- change ok-all diff --git a/examples/rc.shutdown b/examples/rc.shutdown deleted file mode 100755 index 14b4692..0000000 --- a/examples/rc.shutdown +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/execlineb -P - - -# Write a message to /var/log/syslogd - -foreground -{ - s6-ipcclient -l0 /dev/log - fdmove 1 7 - s6-echo "/etc/rc.shutdown: shutdown requested" -} - - -# Shut down all services - -s6-rc -da change -- cgit v1.2.3