diff options
author | srividya0208 <a.srividya@vyos.io> | 2021-10-04 09:18:04 -0400 |
---|---|---|
committer | srividya0208 <a.srividya@vyos.io> | 2021-10-04 09:18:04 -0400 |
commit | b53bdbbf465a3903df2723c48077b20c9428fdb0 (patch) | |
tree | dcbc4b8a7aaaaf2bb7c6815dd1826bac2e62cae3 /functions | |
parent | d27f06b250792d57c473e3dc491ee75d99cbfd26 (diff) | |
download | vyatta-cfg-b53bdbbf465a3903df2723c48077b20c9428fdb0.tar.gz vyatta-cfg-b53bdbbf465a3903df2723c48077b20c9428fdb0.zip |
poweroff: T3888: correction of error message
A proper message is added i.e. Exit from configure mode before shutting down.
for the poweroff command when executed from the config mode.
Diffstat (limited to 'functions')
-rw-r--r-- | functions/interpreter/vyatta-cfg-run | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index d1aed3a..5e0ce42 100644 --- a/functions/interpreter/vyatta-cfg-run +++ b/functions/interpreter/vyatta-cfg-run @@ -199,6 +199,11 @@ reboot () echo "Exit from configure mode before rebooting." } +poweroff () +{ + echo "Exit from configure mode before shutting down." +} + vyatta_config_rollback () { if [ $# != 1 ]; then |