1
0

reboot_system 252 B

12345678910111213141516
  1. #!/usr/bin/fish
  2. # Reboot the system and print logs in jovian home
  3. ## Should be executed as super admin
  4. function printStep
  5. echo '- - - - -'
  6. echo "Step $argv"
  7. echo '- - - - -'
  8. end
  9. printStep 'Start'
  10. date
  11. printStep 'Reboot'
  12. systemctl reboot