import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
3729fc68eb
commit
423ba10303
13396 changed files with 269468 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
# Nico Schottelius
|
||||
# cinit: add shutdown/reboot/poweroff service
|
||||
|
||||
set -e
|
||||
|
||||
# init variables
|
||||
. $(dirname $0)/cinit.read-conf
|
||||
|
||||
BASEDIR=$DESTDIR/$CINIT_DIR
|
||||
|
||||
# create halt, link reboot and poweroff to it
|
||||
mkdir "$BASEDIR/$C_HALT"
|
||||
ln -s "$C_HALT" "$BASEDIR/$C_REBOOT"
|
||||
ln -s "$C_HALT" "$BASEDIR/$C_POWEROFF"
|
||||
Loading…
Add table
Add a link
Reference in a new issue