mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-04 00:42:25 +02:00
Merge pull request #184 from zindello/feat/luckfoxInstallSupport
This commit is contained in:
@@ -260,7 +260,7 @@ install_repeater() {
|
||||
fi
|
||||
|
||||
# Welcome screen (Bypass if the script was passd with the "install" option, assume we want a silent install)
|
||||
if [ $1 != "install" ]; then
|
||||
if [[ "${1:-}" != "install" ]]; then
|
||||
$DIALOG --backtitle "pyMC Repeater Management" --title "Welcome" --msgbox "\nWelcome to pyMC Repeater Setup\n\nThis installer will configure your Linux system as a LoRa mesh network repeater.\n\nPress OK to continue..." 12 70
|
||||
fi
|
||||
|
||||
@@ -589,7 +589,7 @@ UPGRADEEOF
|
||||
fi
|
||||
echo "═══════════════════════════════════════════════════════════════"
|
||||
echo ""
|
||||
if [ $1 != "install" ]; then #Headless install support
|
||||
if [[ "${1:-}" != "install" ]]; then #Headless install support
|
||||
read -p "Press Enter to return to main menu..." || true
|
||||
fi
|
||||
else
|
||||
@@ -1264,7 +1264,7 @@ fi
|
||||
# Handle command line arguments
|
||||
case "$1" in
|
||||
"install")
|
||||
install_repeater
|
||||
install_repeater install
|
||||
exit 0
|
||||
;;
|
||||
"upgrade")
|
||||
|
||||
Reference in New Issue
Block a user