summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-10-04 20:29:47 +0700
committerGitHub <noreply@github.com>2021-10-04 20:29:47 +0700
commit8d7267114762c488cd180b087cc865af94b946b0 (patch)
treedcbc4b8a7aaaaf2bb7c6815dd1826bac2e62cae3
parentd27f06b250792d57c473e3dc491ee75d99cbfd26 (diff)
parentb53bdbbf465a3903df2723c48077b20c9428fdb0 (diff)
downloadvyatta-cfg-8d7267114762c488cd180b087cc865af94b946b0.tar.gz
vyatta-cfg-8d7267114762c488cd180b087cc865af94b946b0.zip
Merge pull request #42 from srividya0208/T3888
poweroff: T3888: correction of error message
-rw-r--r--functions/interpreter/vyatta-cfg-run5
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