summaryrefslogtreecommitdiff
path: root/templates/system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-28 14:08:47 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-28 14:08:47 -0700
commit95b12ea196a64a75e4db505905382dea0ac213da (patch)
treefc016963546476ae6f2dd87084b1bbcbee171723 /templates/system
parenta4d72b580c8290baeee794bb28bd10d650aa479f (diff)
parent6098a862a26de6526354513295a911cb46f6f56b (diff)
downloadvyatta-cfg-system-95b12ea196a64a75e4db505905382dea0ac213da.tar.gz
vyatta-cfg-system-95b12ea196a64a75e4db505905382dea0ac213da.zip
Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg-system into jenner
Diffstat (limited to 'templates/system')
-rw-r--r--templates/system/login/banner/node.def1
-rw-r--r--templates/system/login/banner/post-login/node.def12
-rw-r--r--templates/system/login/banner/pre-login/node.def13
3 files changed, 26 insertions, 0 deletions
diff --git a/templates/system/login/banner/node.def b/templates/system/login/banner/node.def
new file mode 100644
index 00000000..2aef97a4
--- /dev/null
+++ b/templates/system/login/banner/node.def
@@ -0,0 +1 @@
+help: Set system login banners
diff --git a/templates/system/login/banner/post-login/node.def b/templates/system/login/banner/post-login/node.def
new file mode 100644
index 00000000..98c139b8
--- /dev/null
+++ b/templates/system/login/banner/post-login/node.def
@@ -0,0 +1,12 @@
+help: Set system loging banner post-login
+type: txt
+
+update: sudo /opt/vyatta/sbin/vyatta-banner.pl \
+ --action=update --banner-type=post-login
+
+delete: sudo /opt/vyatta/sbin/vyatta-banner.pl \
+ --action=delete --banner-type=post-login
+
+comp_help: possible completions:
+ <txt> Set login banner
+ (example: "\\n\\n\\tWelcome to Vyatta!\\n")
diff --git a/templates/system/login/banner/pre-login/node.def b/templates/system/login/banner/pre-login/node.def
new file mode 100644
index 00000000..7cb80380
--- /dev/null
+++ b/templates/system/login/banner/pre-login/node.def
@@ -0,0 +1,13 @@
+help: Set system loging banner pre-login
+type: txt
+
+update: sudo /opt/vyatta/sbin/vyatta-banner.pl \
+ --action=update --banner-type=pre-login
+
+delete: sudo /opt/vyatta/sbin/vyatta-banner.pl \
+ --action=delete --banner-type=pre-login
+
+comp_help: possible completions:
+ <txt> Set login banner
+ (example: "\\n\\n\\tUNAUTHORIZED USE OF THIS SYSTEM\\nIS PROHIBITED!\\n")
+