From 9e6d0f168bf59df9cd829d6ebe63fb08ea9ae01e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 20 Apr 2019 05:58:37 +0000 Subject: Add skel files; add initdefault; remove env-stage2 --- skel/runlevel | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'skel/runlevel') diff --git a/skel/runlevel b/skel/runlevel index e69de29..6368b4b 100755 --- a/skel/runlevel +++ b/skel/runlevel @@ -0,0 +1,15 @@ +#!/bin/sh -e + +### This script is called once at boot time by rc.init, and is +### also called by the runleveld service every time the user +### requests a machine state change via telinit. +### Ideally, it should just be a call to the service manager. + +### If your services are managed by sysv-rc: +# exec /etc/init.d/rc "$1" + +### If your services are managed by OpenRC: +# exec /sbin/openrc "$1" + +### If your services are managed by s6-rc: +# exec s6-rc -v2 change "$1" -- cgit v1.2.3