diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-06-11 14:36:35 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-06-11 14:36:35 -0700 |
commit | 4f12bac0dd00c1471fa8b1c6cf677e3a7680bc5f (patch) | |
tree | aa928bb102767331c6ad227acb69d029be7781fa | |
parent | bca0ace007667fb9c2e634e0debd120fc58525d4 (diff) | |
download | vyatta-cfg-4f12bac0dd00c1471fa8b1c6cf677e3a7680bc5f.tar.gz vyatta-cfg-4f12bac0dd00c1471fa8b1c6cf677e3a7680bc5f.zip |
Block reboot from config mode.
-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 fb2b142..102ce8f 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -66,6 +66,11 @@ save () \"umask 0002 ; ${vyatta_sbindir}/vyatta-save-config.pl $@\"" } +reboot () +{ + echo "Exit from configure mode before rebooting." +} + declare vyatta_cfg_prompt_level='' set_config_ps1 () { |