diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-09 22:39:52 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-09 22:39:52 -0700 |
commit | 9597176ac1f7f2ddee37fc78102185e844bca70f (patch) | |
tree | 4b5e93047579e9b88cbe0890dc00c820eaaa705e /etc/bash_completion.d | |
parent | 34a9661d2ef0dd0f90ad20196c2e2c0d2b5f40e1 (diff) | |
download | vyatta-cfg-9597176ac1f7f2ddee37fc78102185e844bca70f.tar.gz vyatta-cfg-9597176ac1f7f2ddee37fc78102185e844bca70f.zip |
Block shutdown in configure mode
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 5 |
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 () { |