From 101745c6a4a2c6a186be48182d48814177840c65 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 29 Nov 2018 23:14:58 +0100 Subject: :construction: Chenged things, and written some docs --- bin/luxcena-neo-cli.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/luxcena-neo-cli.sh') diff --git a/bin/luxcena-neo-cli.sh b/bin/luxcena-neo-cli.sh index 761459e..5d960c0 100755 --- a/bin/luxcena-neo-cli.sh +++ b/bin/luxcena-neo-cli.sh @@ -71,7 +71,7 @@ if [ "$action" == "update" ]; then runuser -l 'lux-neo' -c 'npm i --only=production' cd $oldDir printf "Update complete, run these commands to finish it completly:\n" - printf "sudo /home/lux-neo/luxcena-neo-install/bin/post-update.sh\n" + printf "sudo /home/lux-neo/install/src/bin/post-update.sh\n" printf "sudo systemctl luxcena-neo start\n" systemctl start luxcena-neo @@ -100,8 +100,12 @@ elif [ "$action" == "uninstall" ]; then printf "Well, some dependencies still exists. Those are:\n" printf " - rpi_ws281x-library\n" printf " - packages (nodejs scons python-dev swig)\n" + tput sgr0 fi +elif [ "$action" == "conf" ]; then + nano /home/lux-neo/luxcena-neo-install/userdata/config/strip.json + elif [ "$action" == "start" ]; then systemctl start luxcena-neo elif [ "$action" == "stop" ]; then -- cgit v1.2.3