mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 05:13:56 +08:00
🎁 Sync 2026-04-23 10:46:47
This commit is contained in:
1 parent
5d76369f2e
commit
836c253011
2 files changed
+6
-1
No files matched your search
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
|
|
||||||
PKG_NAME:=my-default-settings
|
PKG_NAME:=my-default-settings
|
||||||
PKG_VERSION:=2
|
PKG_VERSION:=2
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,11 @@ sed -i '/profile.d/d' /lib/upgrade/keep.d/base-files
|
|||||||
echo $(uci -q get uhttpd.main.index_page) | grep -q "cgi-bin/luci" ||
|
echo $(uci -q get uhttpd.main.index_page) | grep -q "cgi-bin/luci" ||
|
||||||
uci -q add_list uhttpd.main.index_page='cgi-bin/luci' && uci commit uhttpd
|
uci -q add_list uhttpd.main.index_page='cgi-bin/luci' && uci commit uhttpd
|
||||||
|
|
||||||
|
if [[ "$(uci -q get dropbear.main._direct)" != "1" && "$(uci -q get dropbear.main.Interface)" == "lan" ]]; then
|
||||||
|
uci del dropbear.main.Interface
|
||||||
|
uci commit dropbear
|
||||||
|
fi
|
||||||
|
|
||||||
[[ -x /usr/bin/wget && ! -x /usr/bin/wget-ssl ]] &&
|
[[ -x /usr/bin/wget && ! -x /usr/bin/wget-ssl ]] &&
|
||||||
ln -s /usr/bin/wget /usr/bin/wget-ssl
|
ln -s /usr/bin/wget /usr/bin/wget-ssl
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user