mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-06 03:14:12 +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,52 @@
|
||||
package quickactions
|
||||
|
||||
config settings 'global'
|
||||
option poll_interval '5'
|
||||
option design_style '3d'
|
||||
|
||||
config mapping
|
||||
option keyword 'reboot'
|
||||
option service 'system'
|
||||
option dangerous '1'
|
||||
option icon '⚠️'
|
||||
|
||||
config essential 'reboot'
|
||||
option label 'Reboot Router'
|
||||
option icon '🔄'
|
||||
option command '/sbin/reboot'
|
||||
option confirm '1'
|
||||
|
||||
config essential 'shutdown'
|
||||
option label 'Shutdown'
|
||||
option icon '⏻'
|
||||
option command '/sbin/poweroff'
|
||||
option confirm '1'
|
||||
|
||||
config essential 'wifi_toggle'
|
||||
option label 'WiFi Off/On'
|
||||
option icon '📶'
|
||||
option command '/usr/bin/quickactions-wifi-toggle'
|
||||
option confirm '1'
|
||||
|
||||
config essential 'cache_clear'
|
||||
option label 'Clear LuCI Cache'
|
||||
option icon '🧹'
|
||||
option command 'rm -rf /tmp/luci-indexcache /tmp/luci-modulecache*; /etc/init.d/rpcd restart; /etc/init.d/uhttpd restart'
|
||||
option confirm '0'
|
||||
|
||||
config shortcut 'openvpn'
|
||||
option label 'OpenVPN'
|
||||
option icon '🔒'
|
||||
option path 'admin/services/openvpn'
|
||||
|
||||
config shortcut 'firewall'
|
||||
option label 'Firewall'
|
||||
option icon '🛡️'
|
||||
option path 'admin/network/firewall'
|
||||
|
||||
config essential 'backup'
|
||||
option order '14'
|
||||
option label 'Download Config Backup'
|
||||
option icon '💾'
|
||||
option command '/sbin/sysupgrade -b /tmp/backup-$(date +%Y%m%d-%H%M%S).tar.gz && ls -la /tmp/backup-*.tar.gz | tail -1'
|
||||
option confirm '0'
|
||||
Reference in new issue
Block a user