Added etc/runit bootscripts and runsvdir
This commit is contained in:
parent
b89079acdb
commit
4579c1d1dd
86 changed files with 119 additions and 0 deletions
15
etc/runit/1
Executable file
15
etc/runit/1
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# system one time tasks
|
||||||
|
|
||||||
|
PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
|
mount -o remount,rw /
|
||||||
|
mkdir /dev/shm
|
||||||
|
chmod 1777 /dev/shm
|
||||||
|
#/etc/rcS.d
|
||||||
|
#/etc/init.d/rmnologin
|
||||||
|
|
||||||
|
touch /run/runit.stopit
|
||||||
|
chmod 0 /run/runit.stopit
|
||||||
|
|
||||||
|
#[ -e /etc/runit/no-emulate-sysv ] || /etc/rc5.d
|
||||||
|
|
6
etc/runit/2
Executable file
6
etc/runit/2
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
|
||||||
|
|
||||||
|
exec env - PATH=$PATH \
|
||||||
|
runsvdir -P /etc/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
|
15
etc/runit/3
Executable file
15
etc/runit/3
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec 2>&1
|
||||||
|
|
||||||
|
PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
|
|
||||||
|
LAST=0
|
||||||
|
test -x /run/runit.reboot && LAST=6
|
||||||
|
|
||||||
|
echo 'Waiting for services to stop...'
|
||||||
|
sv -w196 force-stop /etc/service/*
|
||||||
|
sv exit /etc/service/*
|
||||||
|
|
||||||
|
echo 'Shutdown...'
|
||||||
|
#/etc/rc$LAST.d
|
||||||
|
mount -o remount,ro /
|
1
etc/runit/runsvdir/default/ModemManager
Symbolic link
1
etc/runit/runsvdir/default/ModemManager
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/ModemManager
|
1
etc/runit/runsvdir/default/NetworkManager
Symbolic link
1
etc/runit/runsvdir/default/NetworkManager
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/NetworkManager
|
1
etc/runit/runsvdir/default/NetworkManager-dispatcher
Symbolic link
1
etc/runit/runsvdir/default/NetworkManager-dispatcher
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/NetworkManager-dispatcher
|
1
etc/runit/runsvdir/default/NetworkManager-wait-online
Symbolic link
1
etc/runit/runsvdir/default/NetworkManager-wait-online
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/NetworkManager-wait-online
|
1
etc/runit/runsvdir/default/accounts-daemon
Symbolic link
1
etc/runit/runsvdir/default/accounts-daemon
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/accounts-daemon
|
1
etc/runit/runsvdir/default/apparmor
Symbolic link
1
etc/runit/runsvdir/default/apparmor
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/apparmor
|
1
etc/runit/runsvdir/default/apt-daily
Symbolic link
1
etc/runit/runsvdir/default/apt-daily
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/apt-daily
|
1
etc/runit/runsvdir/default/apt-daily-upgrade
Symbolic link
1
etc/runit/runsvdir/default/apt-daily-upgrade
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/apt-daily-upgrade
|
1
etc/runit/runsvdir/default/avahi-daemon
Symbolic link
1
etc/runit/runsvdir/default/avahi-daemon
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/avahi-daemon
|
1
etc/runit/runsvdir/default/binfmt-support
Symbolic link
1
etc/runit/runsvdir/default/binfmt-support
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/binfmt-support
|
1
etc/runit/runsvdir/default/casper
Symbolic link
1
etc/runit/runsvdir/default/casper
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/casper
|
1
etc/runit/runsvdir/default/colord
Symbolic link
1
etc/runit/runsvdir/default/colord
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/colord
|
1
etc/runit/runsvdir/default/console-setup
Symbolic link
1
etc/runit/runsvdir/default/console-setup
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/console-setup
|
1
etc/runit/runsvdir/default/cron
Symbolic link
1
etc/runit/runsvdir/default/cron
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/cron
|
1
etc/runit/runsvdir/default/cups
Symbolic link
1
etc/runit/runsvdir/default/cups
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/cups
|
1
etc/runit/runsvdir/default/cups-browsed
Symbolic link
1
etc/runit/runsvdir/default/cups-browsed
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/cups-browsed
|
1
etc/runit/runsvdir/default/dbus
Symbolic link
1
etc/runit/runsvdir/default/dbus
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/dbus
|
1
etc/runit/runsvdir/default/display-manager
Symbolic link
1
etc/runit/runsvdir/default/display-manager
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/lightdm
|
1
etc/runit/runsvdir/default/dm-event
Symbolic link
1
etc/runit/runsvdir/default/dm-event
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/dm-event
|
1
etc/runit/runsvdir/default/dns-clean
Symbolic link
1
etc/runit/runsvdir/default/dns-clean
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/dns-clean
|
1
etc/runit/runsvdir/default/e2scrub_all
Symbolic link
1
etc/runit/runsvdir/default/e2scrub_all
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/e2scrub_all
|
1
etc/runit/runsvdir/default/e2scrub_reap
Symbolic link
1
etc/runit/runsvdir/default/e2scrub_reap
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/e2scrub_reap
|
1
etc/runit/runsvdir/default/firewalld
Symbolic link
1
etc/runit/runsvdir/default/firewalld
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/firewalld
|
1
etc/runit/runsvdir/default/fstrim
Symbolic link
1
etc/runit/runsvdir/default/fstrim
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/fstrim
|
1
etc/runit/runsvdir/default/getty@tty2
Symbolic link
1
etc/runit/runsvdir/default/getty@tty2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/getty@tty2
|
1
etc/runit/runsvdir/default/grub-common
Symbolic link
1
etc/runit/runsvdir/default/grub-common
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/grub-common
|
1
etc/runit/runsvdir/default/grub-initrd-fallback
Symbolic link
1
etc/runit/runsvdir/default/grub-initrd-fallback
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/grub-initrd-fallback
|
1
etc/runit/runsvdir/default/ifupdown-wait-online
Symbolic link
1
etc/runit/runsvdir/default/ifupdown-wait-online
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/ifupdown-wait-online
|
1
etc/runit/runsvdir/default/initrd-udevadm-cleanup-db
Symbolic link
1
etc/runit/runsvdir/default/initrd-udevadm-cleanup-db
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/initrd-udevadm-cleanup-db
|
1
etc/runit/runsvdir/default/irqbalance
Symbolic link
1
etc/runit/runsvdir/default/irqbalance
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/irqbalance
|
1
etc/runit/runsvdir/default/keyboard-setup
Symbolic link
1
etc/runit/runsvdir/default/keyboard-setup
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/keyboard-setup
|
1
etc/runit/runsvdir/default/kmod
Symbolic link
1
etc/runit/runsvdir/default/kmod
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/kmod
|
1
etc/runit/runsvdir/default/kmod-static-nodes
Symbolic link
1
etc/runit/runsvdir/default/kmod-static-nodes
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/kmod-static-nodes
|
1
etc/runit/runsvdir/default/lightdm
Symbolic link
1
etc/runit/runsvdir/default/lightdm
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/lightdm
|
1
etc/runit/runsvdir/default/lm-sensors
Symbolic link
1
etc/runit/runsvdir/default/lm-sensors
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/lm-sensors
|
1
etc/runit/runsvdir/default/logrotate
Symbolic link
1
etc/runit/runsvdir/default/logrotate
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/logrotate
|
1
etc/runit/runsvdir/default/lvm2-lvmpolld
Symbolic link
1
etc/runit/runsvdir/default/lvm2-lvmpolld
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/lvm2-lvmpolld
|
1
etc/runit/runsvdir/default/lvm2-monitor
Symbolic link
1
etc/runit/runsvdir/default/lvm2-monitor
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/lvm2-monitor
|
1
etc/runit/runsvdir/default/man-db
Symbolic link
1
etc/runit/runsvdir/default/man-db
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/man-db
|
1
etc/runit/runsvdir/default/motd-news
Symbolic link
1
etc/runit/runsvdir/default/motd-news
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/motd-news
|
1
etc/runit/runsvdir/default/networkd-dispatcher
Symbolic link
1
etc/runit/runsvdir/default/networkd-dispatcher
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/networkd-dispatcher
|
1
etc/runit/runsvdir/default/networking
Symbolic link
1
etc/runit/runsvdir/default/networking
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/networking
|
1
etc/runit/runsvdir/default/nmbd
Symbolic link
1
etc/runit/runsvdir/default/nmbd
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/nmbd
|
1
etc/runit/runsvdir/default/ntp
Symbolic link
1
etc/runit/runsvdir/default/ntp
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/ntp
|
1
etc/runit/runsvdir/default/ondemand
Symbolic link
1
etc/runit/runsvdir/default/ondemand
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/ondemand
|
1
etc/runit/runsvdir/default/packagekit
Symbolic link
1
etc/runit/runsvdir/default/packagekit
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/packagekit
|
1
etc/runit/runsvdir/default/packagekit-offline-update
Symbolic link
1
etc/runit/runsvdir/default/packagekit-offline-update
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/packagekit-offline-update
|
1
etc/runit/runsvdir/default/plymouth-halt
Symbolic link
1
etc/runit/runsvdir/default/plymouth-halt
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-halt
|
1
etc/runit/runsvdir/default/plymouth-kexec
Symbolic link
1
etc/runit/runsvdir/default/plymouth-kexec
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-kexec
|
1
etc/runit/runsvdir/default/plymouth-poweroff
Symbolic link
1
etc/runit/runsvdir/default/plymouth-poweroff
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-poweroff
|
1
etc/runit/runsvdir/default/plymouth-quit
Symbolic link
1
etc/runit/runsvdir/default/plymouth-quit
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-quit
|
1
etc/runit/runsvdir/default/plymouth-quit-wait
Symbolic link
1
etc/runit/runsvdir/default/plymouth-quit-wait
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-quit-wait
|
1
etc/runit/runsvdir/default/plymouth-read-write
Symbolic link
1
etc/runit/runsvdir/default/plymouth-read-write
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-read-write
|
1
etc/runit/runsvdir/default/plymouth-reboot
Symbolic link
1
etc/runit/runsvdir/default/plymouth-reboot
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-reboot
|
1
etc/runit/runsvdir/default/plymouth-start
Symbolic link
1
etc/runit/runsvdir/default/plymouth-start
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-start
|
1
etc/runit/runsvdir/default/plymouth-switch-root
Symbolic link
1
etc/runit/runsvdir/default/plymouth-switch-root
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/plymouth-switch-root
|
1
etc/runit/runsvdir/default/polkit
Symbolic link
1
etc/runit/runsvdir/default/polkit
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/polkit
|
1
etc/runit/runsvdir/default/pppd-dns
Symbolic link
1
etc/runit/runsvdir/default/pppd-dns
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/pppd-dns
|
1
etc/runit/runsvdir/default/pulseaudio-daemon
Symbolic link
1
etc/runit/runsvdir/default/pulseaudio-daemon
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/pulseaudio-daemon
|
1
etc/runit/runsvdir/default/resolvconf
Symbolic link
1
etc/runit/runsvdir/default/resolvconf
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/resolvconf
|
1
etc/runit/runsvdir/default/resolvconf-pull-resolved
Symbolic link
1
etc/runit/runsvdir/default/resolvconf-pull-resolved
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/resolvconf-pull-resolved
|
1
etc/runit/runsvdir/default/rsync
Symbolic link
1
etc/runit/runsvdir/default/rsync
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/rsync
|
1
etc/runit/runsvdir/default/rsyslog
Symbolic link
1
etc/runit/runsvdir/default/rsyslog
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/rsyslog
|
1
etc/runit/runsvdir/default/rtkit-daemon
Symbolic link
1
etc/runit/runsvdir/default/rtkit-daemon
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/rtkit-daemon
|
1
etc/runit/runsvdir/default/smartd
Symbolic link
1
etc/runit/runsvdir/default/smartd
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/smartmontools
|
1
etc/runit/runsvdir/default/smartmontools
Symbolic link
1
etc/runit/runsvdir/default/smartmontools
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/smartmontools
|
1
etc/runit/runsvdir/default/smbd
Symbolic link
1
etc/runit/runsvdir/default/smbd
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/smbd
|
1
etc/runit/runsvdir/default/syslog
Symbolic link
1
etc/runit/runsvdir/default/syslog
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/rsyslog
|
1
etc/runit/runsvdir/default/systemd-hostnamed
Symbolic link
1
etc/runit/runsvdir/default/systemd-hostnamed
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-hostnamed
|
1
etc/runit/runsvdir/default/systemd-localed
Symbolic link
1
etc/runit/runsvdir/default/systemd-localed
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-localed
|
1
etc/runit/runsvdir/default/systemd-logind
Symbolic link
1
etc/runit/runsvdir/default/systemd-logind
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-logind
|
1
etc/runit/runsvdir/default/systemd-networkd
Symbolic link
1
etc/runit/runsvdir/default/systemd-networkd
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-networkd
|
1
etc/runit/runsvdir/default/systemd-networkd-wait-online
Symbolic link
1
etc/runit/runsvdir/default/systemd-networkd-wait-online
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-networkd-wait-online
|
1
etc/runit/runsvdir/default/systemd-resolved
Symbolic link
1
etc/runit/runsvdir/default/systemd-resolved
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-resolved
|
1
etc/runit/runsvdir/default/systemd-udev-settle
Symbolic link
1
etc/runit/runsvdir/default/systemd-udev-settle
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-udev-settle
|
1
etc/runit/runsvdir/default/systemd-udev-trigger
Symbolic link
1
etc/runit/runsvdir/default/systemd-udev-trigger
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-udev-trigger
|
1
etc/runit/runsvdir/default/systemd-udevd
Symbolic link
1
etc/runit/runsvdir/default/systemd-udevd
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-udevd
|
1
etc/runit/runsvdir/default/systemd-user-sessions
Symbolic link
1
etc/runit/runsvdir/default/systemd-user-sessions
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/systemd-user-sessions
|
1
etc/runit/runsvdir/default/tlp
Symbolic link
1
etc/runit/runsvdir/default/tlp
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/tlp
|
1
etc/runit/runsvdir/default/ua-messaging
Symbolic link
1
etc/runit/runsvdir/default/ua-messaging
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/ua-messaging
|
1
etc/runit/runsvdir/default/usbmuxd
Symbolic link
1
etc/runit/runsvdir/default/usbmuxd
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/usbmuxd
|
1
etc/runit/runsvdir/default/wpa_supplicant
Symbolic link
1
etc/runit/runsvdir/default/wpa_supplicant
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/wpa_supplicant
|
1
etc/runit/runsvdir/default/yacy
Symbolic link
1
etc/runit/runsvdir/default/yacy
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/etc/sv/yacy
|
Loading…
Reference in a new issue