mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 18:33:56 +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,16 @@
|
||||
#!/bin/sh
|
||||
# Seed /etc/config/hotplug if the user has no rules yet.
|
||||
# The Hotplug tab in luci-app-quickactions writes to this config.
|
||||
[ -f /etc/config/hotplug ] && exit 0
|
||||
cat > /etc/config/hotplug << 'CONF'
|
||||
# Hotplug rules managed by luci-app-quickactions
|
||||
#
|
||||
# iface sections - run commands on network interface events.
|
||||
# Example:
|
||||
# config iface 'wan_up'
|
||||
# option action 'ifup'
|
||||
# option enabled '1'
|
||||
# option interface 'wan'
|
||||
# list command '/etc/init.d/firewall restart'
|
||||
CONF
|
||||
exit 0
|
||||
Reference in new issue
Block a user