mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-13 05:07:52 +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,15 @@
|
||||
#!/bin/sh
|
||||
# Seed the VLAN working directories on first install.
|
||||
mkdir -p /etc/quickactions/vlan/templates
|
||||
mkdir -p /etc/quickactions/vlan/generated
|
||||
chmod 755 /etc/quickactions/vlan /etc/quickactions/vlan/templates /etc/quickactions/vlan/generated
|
||||
|
||||
# Default config section
|
||||
have=$(uci -q get quickactions.vlan.tier)
|
||||
if [ -z "$have" ]; then
|
||||
uci -q set quickactions.vlan=vlan
|
||||
uci -q set quickactions.vlan.tier=auto
|
||||
uci -q set quickactions.vlan.snapshot_keep=20
|
||||
uci -q commit quickactions
|
||||
fi
|
||||
exit 0
|
||||
Reference in new issue
Block a user