modified version of felker's init

This commit is contained in:
Bradford Morgan White
2026-02-08 12:01:20 -05:00
parent 45e80e1f07
commit 86ba125208
6 changed files with 115 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# /sbin/shutdown
for FILE in /etc/rc.d/*; do
[ -x /etc/rc.d/$FILE ] && /etc/rc.d/$FILE stop
done
sync
mount / -o remount,ro
echo o >/proc/sysrq-trigger