Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/execlineb -S0
- cd /
- fdclose 0
- redirfd -w 1 /dev/console
- fdmove -c 2 1
- foreground { echo "Syncing disks." }
- foreground { sync }
- foreground { echo "Sending all processes the TERM signal." }
- foreground { kill -15 -1 }
- foreground { sleep 3 }
- foreground { echo "Sending all processes the KILL signal." }
- foreground { kill -9 -1 }
- wait { }
- foreground { echo "Syncing disks." }
- foreground { sync }
- foreground { reboot -h }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement