This commit is contained in:
Miguel Fuertes committed 2025-10-18 11:36:30 +02:00
1 parent ff3dd4dfb3
commit ecc8f39da5
3 files changed
+2 -11

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ define Build/Prepare
$(INSTALL_DIR) $(PKG_BUILD_DIR)
# Copy uci_defaults and remove any trailing "exit 0"
sed '/^exit 0$$/d' ./files/uci_defaults > $(PKG_BUILD_DIR)/99-default-config
$(INSTALL_BIN) ./files/uci_defaults $(PKG_BUILD_DIR)/99-default-config
# Add blank line separator
echo "" >> $(PKG_BUILD_DIR)/99-default-config
@@ -26,9 +26,3 @@ sed -i 's/"device": "eth0"/"device": "br-lan"/g' /etc/board.json
# Commit all changes
uci commit
# Apply network and wireless configuration
wifi reload
/etc/init.d/network restart
exit 0
+1 -4
View File
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
# Enabling WiFi
uci set wireless.@wifi-device[0].disabled='0'
@@ -23,8 +24,4 @@ sed -i 's/"device": "eth0"/"device": "br-lan"/g' /etc/board.json
# Commit all changes
uci commit
# Apply network and wireless configuration
wifi reload
/etc/init.d/network restart
exit 0