From b53bdbbf465a3903df2723c48077b20c9428fdb0 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(+) (limited to 'functions/interpreter') 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 -- cgit v1.2.3