#!/usr/bin/fish # Reboot the system and print logs in jovian home ## Should be executed as super admin function printStep echo '- - - - -' echo "Step $argv" echo '- - - - -' end printStep 'Start' date printStep 'Reboot' systemctl reboot