summaryrefslogtreecommitdiffstats
path: root/package/uci/trigger/modules
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-26 22:25:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-26 22:25:59 +0000
commite7beb6900e40b869293171dfea046c65209b1b0d (patch)
treea16275161b52aa61f0b4fdd2625954620f800e68 /package/uci/trigger/modules
parent933895680f32e9da99a47dbe9443814f0d0461ba (diff)
remove ucitrigger, it is unused and will be replaced by something different in the future
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26308 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uci/trigger/modules')
-rw-r--r--package/uci/trigger/modules/base.lua63
1 files changed, 0 insertions, 63 deletions
diff --git a/package/uci/trigger/modules/base.lua b/package/uci/trigger/modules/base.lua
deleted file mode 100644
index 3ab6bba65..000000000
--- a/package/uci/trigger/modules/base.lua
+++ /dev/null
@@ -1,63 +0,0 @@
-module("trigger.base", package.seeall)
-require("uci.trigger")
-
-uci.trigger.add {
- {
- id = "dnsmasq_restart",
- title = "Restart dnsmasq",
- package = "dhcp",
- action = uci.trigger.service_restart("dnsmasq"),
- },
- {
- id = "dropbear_restart",
- title = "Restart dropbear",
- package = "dropbear",
- action = uci.trigger.service_restart("dropbear"),
- },
- {
- id = "fstab_restart",
- title = "Remount filesystems",
- package = "fstab",
- action = uci.trigger.service_restart("fstab"),
- },
- {
- id = "firewall_restart",
- title = "Reload firewall rules",
- package = "firewall",
- action = uci.trigger.service_restart("firewall"),
- },
- {
- id = "httpd_restart",
- title = "Restart the http server",
- package = "httpd",
- action = uci.trigger.service_restart("httpd")
- },
- {
- id = "led_restart",
- title = "Reload LED settings",
- package = "system",
- section = "led",
- action = uci.trigger.service_restart("led")
- },
- {
- id = "network_restart",
- title = "Restart networking and wireless",
- package = "network",
- action = uci.trigger.service_restart("network")
- },
- {
- id = "qos_restart",
- title = "Reload Quality of Service rules",
- package = "qos",
- action = uci.trigger.service_restart("qos"),
- },
- {
- id = "wireless_restart",
- title = "Restart all wireless interfaces",
- package = "wireless",
- section = { "wifi-device", "wifi-iface" },
- action = uci.trigger.system_command("wifi"),
- belongs_to = "network_restart"
- },
-}
-