1 489 B

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