mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 01:05:13 +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
@@ -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" ||
|
||||
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 ]] &&
|
||||
ln -s /usr/bin/wget /usr/bin/wget-ssl
|
||||
|
||||
|
||||
Reference in new issue
Block a user