From 9063ccfa231415657fe6165eccd3c3c35fa49837 Mon Sep 17 00:00:00 2001 From: srividya0208 Date: Mon, 4 Oct 2021 09:18:04 -0400 Subject: 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. --- functions/interpreter/vyatta-cfg-run | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index 91d26d1..30b466e 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 -- cgit v1.2.3