Skip to content

Commit

Permalink
move to reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-MrBeam committed Feb 20, 2024
1 parent c7ea148 commit 9a715f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/modules/beamos/filesystem/migration/usr/bin/migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
echo "Beam OS1 to Beam OS2 Migration Script"

usage () {
echo "Beam OS1 to Beam OS2 Migration Script v1.3.0 "
echo "Beam OS1 to Beam OS2 Migration Script v1.4.0 "
echo " "
echo "OPTIONS: "
echo " "
Expand All @@ -29,7 +29,7 @@ usage () {
echo " <color> can be one of the following: "
echo " - red,blue,green,orange,(purple,teal-only in specific error cases) "
echo " config-boot-usb Configures Mr Beam to be able to boot from USB. "
echo " shutdown Shutdown Mr Beam. "
echo " reboot Reboot Mr Beam. "

}

Expand Down Expand Up @@ -511,7 +511,7 @@ do_config_boot_usb () {
exit 0
}

do_shutdown () {
do_reboot () {
echo "$(timestamp) $0: reboot"
sudo reboot now
exit 0
Expand Down Expand Up @@ -665,8 +665,8 @@ while true ; do
shift
break
;;
shutdown)
do_shutdown
reboot)
do_reboot
shift
break
;;
Expand Down

0 comments on commit 9a715f0

Please sign in to comment.