carbon-s6-init

s6-linux-init configuration for Carbon
git clone https://ccx.te2000.cz/git/carbon-s6-init
Log | Files | Refs

rc.shutdown (266B)


      1 #!/command/execlineb -P
      2 
      3 ### Things to do before hardware halt/reboot/poweroff.
      4 ### Ideally, it should be a single call to the service manager,
      5 ### telling it to bring all the services down.
      6 
      7 redirfd -w 1 /dev/console
      8 redirfd -w 2 /dev/console
      9 s6-rc -v2 -bDa change