summaryrefslogtreecommitdiff
path: root/templates/reboot
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-01-24 14:18:03 +0000
committerAlex Harpin <development@landsofshadow.co.uk>2015-01-24 14:55:10 +0000
commitf4485f4c2beac42a1cdbde35f900440416e1c5ae (patch)
tree327256eb35e422a01582cf290f85d3803adb7017 /templates/reboot
parent7661363bfb9c44eab7f936af1da7db90b681890f (diff)
downloadvyatta-op-f4485f4c2beac42a1cdbde35f900440416e1c5ae.tar.gz
vyatta-op-f4485f4c2beac42a1cdbde35f900440416e1c5ae.zip
vyatta-op: remove unused reboot configuration nodes
Remove unused configuration nodes from the reboot templates under both the 'at' and 'cancel' nodes. Bug #459 http://bugzilla.vyos.net/show_bug.cgi?id=459
Diffstat (limited to 'templates/reboot')
-rw-r--r--templates/reboot/at/.at/node.def1
-rw-r--r--templates/reboot/at/.at/node.tag/node.def3
-rw-r--r--templates/reboot/cancel/.cancel/node.def2
3 files changed, 0 insertions, 6 deletions
diff --git a/templates/reboot/at/.at/node.def b/templates/reboot/at/.at/node.def
deleted file mode 100644
index 9944ff7..0000000
--- a/templates/reboot/at/.at/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Reboot at a specific time
diff --git a/templates/reboot/at/.at/node.tag/node.def b/templates/reboot/at/.at/node.tag/node.def
deleted file mode 100644
index 62f39f9..0000000
--- a/templates/reboot/at/.at/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Reboot the system at a future time
-allowed: echo -n '<HH:MM>' '<MMDDYY>' '<midnight>' '<noon>'
-run: sudo /opt/vyatta/bin/sudo-users/vyatta-reboot.pl --action reboot_at --at_time "$3"
diff --git a/templates/reboot/cancel/.cancel/node.def b/templates/reboot/cancel/.cancel/node.def
deleted file mode 100644
index 110f595..0000000
--- a/templates/reboot/cancel/.cancel/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Cancel a pending reboot
-run: sudo /opt/vyatta/bin/sudo-users/vyatta-reboot.pl --action reboot_cancel