mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-22 07:56:35 -05:00
Merge pull request #157 from noon92/working
tiny fix for tc2-bbs installer
This commit is contained in:
commit
dfb3ac2e0a
2 changed files with 9 additions and 5 deletions
|
|
@ -36,11 +36,8 @@ wizard() {
|
|||
if [ $? -eq 0 ]; then #unless cancel/no
|
||||
newurl=$(dialog --title "Meshtastic URL" --cancel-label "Skip" --inputbox "New Meshtasticd URL (SHIFT+INS to paste):" 8 50 3>&1 1>&2 2>&3)
|
||||
if [ -n "$newurl" ]; then #if a URL was entered
|
||||
dialog --title "$title" --yesno "New Meshtasticd URL:\n$newurl\n\nConfirm?" 15 60
|
||||
if [ $? -eq 0 ]; then #unless cancel/no
|
||||
femto-meshtasticd-config.sh -q "$newurl"
|
||||
pause
|
||||
fi
|
||||
femto-meshtasticd-config.sh -q "$newurl"
|
||||
pause
|
||||
fi
|
||||
|
||||
femto-config -l
|
||||
|
|
|
|||
|
|
@ -102,6 +102,13 @@ tc2_bbs() { # Install TC²BBS
|
|||
cp mesh-bbs.service /etc/systemd/system/
|
||||
sudo systemctl enable mesh-bbs.service
|
||||
sudo systemctl restart mesh-bbs.service
|
||||
|
||||
# for whatever reason, this is necessary
|
||||
sleep 5
|
||||
sudo systemctl restart mesh-bbs
|
||||
|
||||
echo -e "\nPress any key to continue..."
|
||||
read -n 1 -s -r
|
||||
dialog --title "$software" --msgbox "\nInstallation complete." 8 50
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue