From Crimson Crane, 5 Years ago, written in Plain Text.
Embed
  1. /usr/bin/poweroff
  2. #!/usr/bin/execlineb -S0
  3.  
  4. s6-linux-init-hpr -p $@
  5.  
  6.  
  7. /usr/bin/reboot
  8. #!/usr/bin/execlineb -S0
  9.  
  10. s6-linux-init-hpr -r $@
  11.  
  12. /usr/bin/halt
  13. #!/usr/bin/execlineb -S0
  14.  
  15. s6-linux-init-hpr -h $@
  16.  
  17. /usr/bin/s6-init
  18. #!/usr/bin/execlineb -S0
  19.  
  20. s6-linux-init -c "/etc/s6-linux-init/current" -m 0022 -p "/usr/bin:/bin"
  21.  
  22. /usr/bin/shutdown
  23. #!/usr/bin/execlineb -S0
  24.  
  25. s6-linux-init-shutdown $@
  26.  
  27.  
  28. /usr/bin/telinit
  29. #!/usr/bin/execlineb -S0
  30.  
  31. s6-linux-init-telinit $@
captcha