aboutsummaryrefslogtreecommitdiffstats
path: root/global-config
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-09-13 22:05:36 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-09-13 22:07:12 +0200
commit95794d03672088162cebdab866a73391fca05a63 (patch)
treed712d8e7d12797ede5a747a3fcc8ebc9d17d6c30 /global-config
parent374c9c09ba93e5cefde9cf21799e5ae65720bcd7 (diff)
sms-action: move configuration to global-config
Diffstat (limited to 'global-config')
-rw-r--r--global-config7
1 files changed, 7 insertions, 0 deletions
diff --git a/global-config b/global-config
index e42139b..5d8617a 100644
--- a/global-config
+++ b/global-config
@@ -47,6 +47,13 @@
# add mode here...
};
+# Run commands on SMS action.
+:global "sms-action" {
+ shutdown="/ system shutdown";
+ reboot="/ system reboot";
+# add more here...
+}
+
# This address should resolve ntp servers and is used to update
# ntp settings. A pool can rotate servers.
:global "ntp-pool" "pool.ntp.org";