From 4f12bac0dd00c1471fa8b1c6cf677e3a7680bc5f Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 11 Jun 2008 14:36:35 -0700 Subject: Block reboot from config mode. --- etc/bash_completion.d/20vyatta-cfg | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/bash_completion.d/20vyatta-cfg') 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 () { -- cgit v1.2.3