mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
sys-process/runit: remove unused files
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
# system one time tasks
|
||||
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
|
||||
RUNLEVEL=S /sbin/openrc sysinit
|
||||
RUNLEVEL=S /sbin/openrc boot
|
||||
|
||||
touch /etc/runit/stopit
|
||||
chmod 0 /etc/runit/stopit
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
exec >/dev/console 2>&1
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
|
||||
echo 'Waiting for getties to stop...'
|
||||
sv -w 10 force-shutdown /etc/service/getty-*
|
||||
|
||||
echo 'Waiting for services to stop...'
|
||||
sv -w 300 force-shutdown /etc/service/*
|
||||
|
||||
echo 'Shutdown...'
|
||||
test -x /etc/runit/reboot && LAST=6 || LAST=0
|
||||
test -x /etc/runit/reboot && RC=reboot || RC=shutdown
|
||||
RUNLEVEL=$LAST /sbin/openrc $RC
|
||||
Reference in New Issue
Block a user