Skip to content

Commit f5c6f20

Browse files
openhabianopenhabian
openhabian
authored and
openhabian
committed
check OH5
Signed-off-by: openhabian <openhabian@openHABian>
1 parent b16a26b commit f5c6f20

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

functions/menu.bash

+2-26
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,6 @@ show_main_menu() {
8181
elif [[ "$choice" == "04"* ]]; then
8282
import_openhab_config
8383

84-
<<<<<<< HEAD
85-
=======
86-
elif [[ "$choice" == "05"* ]]; then
87-
setup_pv_config
88-
setup_wb_config
89-
90-
>>>>>>> 8d17c5c5e (Wallbox in Einstellungen auswaehlbar machen)
9184
elif [[ "$choice" == "10"* ]]; then
9285
choice2=$(whiptail --title "storm.house Configuration Tool $(get_git_revision)" --menu "Apply Improvements" 13 116 6 --cancel-button Back --ok-button Execute \
9386
"11 | Packages" "Install needed and recommended system packages" \
@@ -172,7 +165,6 @@ show_main_menu() {
172165
"32 | Set system locale" "Change system language, currently '$(env | grep "^[[:space:]]*LANG=" | sed 's|LANG=||g')'" \
173166
"33 | Set system timezone" "Change your timezone, execute if it's not '$(printf "%(%H:%M)T\\n" "-1")' now" \
174167
"34 | Change passwords" "Change passwords for Samba, openHAB Console or the system user" \
175-
<<<<<<< HEAD
176168
"35 | Serial port" "Prepare serial ports for peripherals like RaZberry, ZigBee adapters etc" \
177169
"36 | Disable framebuffer" "Disable framebuffer on RPi to minimize memory usage" \
178170
" | Enable framebuffer" "Enable framebuffer (standard setting)" \
@@ -182,16 +174,6 @@ show_main_menu() {
182174
"39 | Move root to USB" "Move the system root from the SD card to a USB device (SSD or stick)" \
183175
"3A | Setup Exim Mail Relay" "Install Exim4 to relay mails via public email provider" \
184176
"3B | Setup Tailscale VPN" "Establish or join a WireGuard based VPN using the Tailscale service" \
185-
=======
186-
"35 | Serial port" "Prepare serial ports for peripherals like Razberry, SCC, Pine64 ZWave, ..." \
187-
"36 | WiFi setup" "Configure wireless network connection" \
188-
" | Disable WiFi" "Disable wireless network connection" \
189-
"37 | Move root to USB" "Move the system root from the SD card to a USB device (SSD or stick)" \
190-
"38 | Use zram" "Use compressed RAM/disk sync for active directories to avoid SD card corruption" \
191-
" | Uninstall zram" "Don't use compressed memory (back to standard Raspberry Pi OS filesystem layout)" \
192-
"39 | Setup Exim Mail Relay" "Install Exim4 to relay mails via public email provider" \
193-
"3A | Setup Tailscale VPN" "Establish or join a WireGuard based VPN using the Tailscale service" \
194-
>>>>>>> febbbeb5d (Update all documentation for clarity and accuracy (#1443))
195177
" | Remove Tailscale VPN" "Remove the Tailscale VPN service" \
196178
" | Install WireGuard" "Setup WireGuard to enable secure remote access to this system" \
197179
" | Remove WireGuard" "Remove WireGuard VPN from this system" \
@@ -209,17 +191,11 @@ show_main_menu() {
209191
36\ *) use_framebuffer "disable" ;;
210192
*Enable\ framebuffer) use_framebuffer "enable" ;;
211193
38\ *) init_zram_mounts "install" ;;
212-
<<<<<<< HEAD
213194
*Update\ zram) init_zram_mounts ;;
214195
*Uninstall\ zram) init_zram_mounts "uninstall" ;;
215196
39\ *) move_root2usb ;;
216197
3A\ *) exim_setup ;;
217198
3B\ *) if install_tailscale install; then setup_tailscale; fi;;
218-
=======
219-
*Uninstall\ zram) init_zram_mounts "uninstall" ;;
220-
39\ *) exim_setup ;;
221-
3A\ *) if install_tailscale install; then setup_tailscale; fi;;
222-
>>>>>>> febbbeb5d (Update all documentation for clarity and accuracy (#1443))
223199
*Remove\ Tailscale*) install_tailscale remove;;
224200
*Install\ WireGuard*) if install_wireguard install; then setup_wireguard; fi;;
225201
*Remove\ WireGuard*) install_wireguard remove;;
@@ -252,8 +228,8 @@ show_main_menu() {
252228
version="$( (openhab5_is_installed || openhab4_is_installed && echo "openHAB") || (openhab3_is_installed && echo "openHAB3"))"
253229
case "$choice2" in
254230
41\ *) openhab_setup "release";;
255-
*openHAB\ Milestone) cond_redirect apt-mark unhold openhab openhab-addons evcc && openhab_setup "milestone";;
256-
*openHAB\ Snapshot) cond_redirect apt-mark unhold openhab openhab-addons evcc && openhab_setup "snapshot";;
231+
*openHAB\ Milestone) openhab_setup "milestone";;
232+
*openHAB\ Snapshot) openhab_setup "snapshot";;
257233
42\ *) openhab_shell_interfaces;;
258234
43\ *) openhab_clean_cache;;
259235
44\ *) nginx_setup;;

0 commit comments

Comments
 (0)