diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-config b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-config index 3e80e19..5e97561 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-config +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-config @@ -183,7 +183,7 @@ utilities() { case $option in 1) femto-set-timezone.sh ;; # set timezone) 2) # Kernel modules) - dialog --title "$title" --msgbox "Kernel modules are loadable pieces of code that extend a Linux kernel's functionality without requiring a reboot. Common examples include device drivers, file systems, or system calls.\n\nThis tool will allow you to add pre-compiled modules to the Foxbuntu kernel.\n\nModules currently autostarting at boot:\n$(sed -n '6,$p' /etc/modules | sed ':a;N;$!ba;s/\n/, /g;s/, $//')" 16 65 + dialog --title "$title" --msgbox "Kernel modules are loadable pieces of code that extend a Linux kernel's functionality without requiring a reboot. Common examples include device drivers, file systems, or system calls.\n\nThis tool will allow you to add pre-compiled modules to the Foxbuntu kernel.\n\nModules currently autostarting at boot: $(modules=$(sed -n '6,$p' /etc/modules | sed ':a;N;$!ba;s/\n/, /g;s/, $//'); [ -z "$modules" ] && echo "none" || echo "$modules")\n\nCurrently active modules: $(lsmod | awk 'NR>1 {print $1}' | tr '\n' ' ')" 18 65 femto-kernel-modules.sh ;; 3) femto-runonce.sh ;; # Re-run first-boot script) @@ -251,10 +251,10 @@ set_lora_radio() { "AI Thinker ra-01sh") radio="sx1262_xtal" ;; - 11) + "none") radio="none" ;; - 12) + "Skip") return ;; esac @@ -317,7 +317,7 @@ meshtasticd_settings() { fi ;; 3) - dialog --colors --title "LoRa radio" --msgbox "Currently configured LoRa radio:\n$(replace_colors "$(femto-meshtasticd-config.sh -k)")$([ -d /etc/meshtasticd/config.d ] && files=$(ls -d /etc/meshtasticd/config.d/* 2>/dev/null) && [ -n "$files" ] && echo "\n\nConfiguration files in use:\n$files" | paste -sd, -)" 10 55 +dialog --colors --title "LoRa radio" --msgbox "Currently configured LoRa radio:\n$(replace_colors "$(output=$(femto-meshtasticd-config.sh -k); [ -z "$output" ] && echo none || echo "$output")")$([ -d /etc/meshtasticd/config.d ] && files=$(ls -d /etc/meshtasticd/config.d/* 2>/dev/null) && [ -n "$files" ] && echo "\n\nConfiguration files in use:\n$files" | paste -sd, -)" 10 55 ;; 4) set_lora_radio diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/packages/curses_client.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/packages/curses_client.sh index 55ca739..137cb00 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/packages/curses_client.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/packages/curses_client.sh @@ -71,7 +71,11 @@ install() { chown -R femto $location #give ownership of installation directory to $user git config --global --add safe.directory $location # prevents git error when updating echo "Creating \`curses\` shortcut." - echo -e "#!/bin/bash\n$launch" | sudo tee /usr/local/bin/curses > /dev/null + echo -e "#!/bin/bash\n\ +export NCURSES_NO_UTF8_ACS=1\n\ +export TERM=xterm-256color\n\ +export LANG=C.UTF-8\n\ +$launch" | sudo tee /usr/local/bin/curses > /dev/null chmod +x /usr/local/bin/curses echo "user_message: To launch, run \`curses\`." exit 0 # should be `exit 1` if the installation failed