Skip to content

Commit

Permalink
7 yrs old spelling error.... dear God... what have I done
Browse files Browse the repository at this point in the history
  • Loading branch information
cerebrux committed May 2, 2024
1 parent c0509b1 commit f2f7472
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ucaresystem-core
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function WELCOME_SCREEN {
COUNTDOWN $duration
}

function MAINTENACE {
function MAINTENANCE {
echo
echo
echo "#########################"
Expand Down Expand Up @@ -449,10 +449,10 @@ function RE_BOOT {
# The main process starts
while [ "$1" != "" ]; do
case $1 in
-u | --upgrade ) WELCOME_SCREEN && MAINTENACE && UPGRADE_TO_NEXT_RELEASE
-u | --upgrade ) WELCOME_SCREEN && MAINTENANCE && UPGRADE_TO_NEXT_RELEASE
exit
;;
-d | --development ) WELCOME_SCREEN && MAINTENACE && UPGRADE_TO_DEVEL_RELEASE
-d | --development ) WELCOME_SCREEN && MAINTENANCE && UPGRADE_TO_DEVEL_RELEASE
exit
;;
-h | --help ) SHOW_HELP
Expand All @@ -461,15 +461,15 @@ while [ "$1" != "" ]; do
-eol | --end-of-life-upgrade ) UPGRADE_EOL_TO_NEXT
exit
;;
-s | --shutdown ) WELCOME_SCREEN && MAINTENACE && GOODBYE && SHUT_DOWN
-s | --shutdown ) WELCOME_SCREEN && MAINTENANCE && GOODBYE && SHUT_DOWN
exit
;;
-r | --reboot ) WELCOME_SCREEN && MAINTENACE && GOODBYE && RE_BOOT
-r | --reboot ) WELCOME_SCREEN && MAINTENANCE && GOODBYE && RE_BOOT
exit
;;
* ) SHOW_HELP
exit 1
esac
done
## If no parameter is given just do the regular maintenance
WELCOME_SCREEN && MAINTENACE && GOODBYE
WELCOME_SCREEN && MAINTENANCE && GOODBYE

0 comments on commit f2f7472

Please sign in to comment.