1234567891011121314151617181920 |
- #!/bin/sh
- # system one time tasks
- export PATH=/sbin:/usr/sbin:/bin:/usr/bin
- [ -r /etc/runit/rc ] && . /etc/runit/rc
- [ -r /etc/runit/functions/core ] && . /etc/runit/functions/core
- install -Dm644 /proc/sys/kernel/printk /run/runit/printk
- printf '%d' 0 > /proc/sys/kernel/printk
- for f in /etc/runit/boot-services/*.sh; do
- [ -r "$f" ] && . "$f"
- done >/dev/null 2>/dev/null
- mkdir -p -- /run/runit/log
- install -m000 /dev/null /run/runit/stopit
- install -m000 /dev/null /run/runit/reboot
|