summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-09 22:39:52 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-09 22:39:52 -0700
commit9597176ac1f7f2ddee37fc78102185e844bca70f (patch)
tree4b5e93047579e9b88cbe0890dc00c820eaaa705e /etc/bash_completion.d
parent34a9661d2ef0dd0f90ad20196c2e2c0d2b5f40e1 (diff)
downloadvyatta-cfg-9597176ac1f7f2ddee37fc78102185e844bca70f.tar.gz
vyatta-cfg-9597176ac1f7f2ddee37fc78102185e844bca70f.zip
Block shutdown in configure mode
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 515ad18..ac573fa 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -104,6 +104,11 @@ reboot ()
echo "Exit from configure mode before rebooting."
}
+shutdown ()
+{
+ echo "Exit from configure mode before shutting down system."
+}
+
declare vyatta_cfg_prompt_level=''
set_config_ps1 ()
{