Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #!/usr/bin/execlineb -S0
  2.  
  3. cd /
  4. fdclose 0
  5. redirfd -w 1 /dev/console
  6. fdmove -c 2 1
  7.  
  8. foreground { echo "Syncing disks." }
  9. foreground { sync }
  10.  
  11.  
  12. foreground { echo "Sending all processes the TERM signal." }
  13. foreground { kill -15 -1 }
  14. foreground { sleep 3 }
  15. foreground { echo "Sending all processes the KILL signal." }
  16. foreground { kill -9 -1 }
  17.  
  18. wait { }
  19.  
  20. foreground { echo "Syncing disks." }
  21. foreground { sync }
  22.  
  23. foreground { reboot -h }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement