From 069552dc479a6c420d6440c9fdefb4ddf63eac08 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Wed, 5 Dec 2018 23:12:12 +0100 Subject: :hammer: Fix syntax --- bin/luxcena-neo-cli.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/luxcena-neo-cli.sh b/bin/luxcena-neo-cli.sh index 0dfc6d8..60adefd 100755 --- a/bin/luxcena-neo-cli.sh +++ b/bin/luxcena-neo-cli.sh @@ -106,6 +106,7 @@ elif [ "$action" == "start" ]; then if [ "$2" == "boot" ]; then systemctl enable luxcena-neo printf "Now starting on boot...\n" + fi printf "Luxcena-neo service started...\n" elif [ "$action" == "stop" ]; then @@ -113,6 +114,7 @@ elif [ "$action" == "stop" ]; then if [ "$2" == "boot" ]; then systemctl disable luxcena-neo printf "Not longer active on boot...\n" + fi printf "Luxcena-neo service stopped...\n" elif [ "$action" == "status" ]; then @@ -133,14 +135,16 @@ elif [ "$action" == "log" ]; then if [ "$2" == "sevice" ]; then printf '\e[93m%s\e[0m\n' "━━━Service log (press ctrl+c to exit)━━━━━━━━━━━━━━━━━━" tail -F -n 20 /home/lux-neo/logs/service.log + fi if [ "$2" == "app" ]; then printf '\e[93m%s\e[0m\n' "━━━App log (press ctrl+c to exit)━━━━━━━━━━━━━━━━━━" tail -F -n 20 /home/lux-neo/logs/logger.log + fi elif [ "$action" == "version" ] || [ "$action" == "v" ]; then printf "Version: Unknown\n" -elif [ "$action" == "selectBranch" ] +elif [ "$action" == "selectBranch" ]; then printf "Current Branch \n" else usage -- cgit v1.2.3