mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-05 18:24:34 +08:00
💋 Sync 2026-10-04 04:16:09
This commit is contained in:
1 parent
f6b2df73ec
commit
f62992fd80
745 files changed
+212416
-1173
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Create seed configs only if missing. Do NOT touch network, firewall, dhcp, wireless.
|
||||
[ -f /etc/config/wizard ] || echo "config wizard 'default'" > /etc/config/wizard
|
||||
[ -f /etc/config/netwizard ] || printf "config netwizard 'default'\n\toption lan_netmask '255.255.255.0'\n" > /etc/config/netwizard
|
||||
|
||||
# Ensure scripts are executable
|
||||
chmod +x /usr/libexec/quickactions-netwizard/*.sh 2>/dev/null
|
||||
|
||||
# Enable the init so shortcuts/https/coremark hooks work
|
||||
/etc/init.d/quickactions-netwizard enable 2>/dev/null
|
||||
/etc/init.d/quickactions-netwizard start 2>/dev/null
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user