diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-11-29 23:14:58 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-11-29 23:14:58 +0100 |
commit | 101745c6a4a2c6a186be48182d48814177840c65 (patch) | |
tree | ee7c7420291473033cf7cd9f921fe21958bf571f /bin/luxcena-neo-cli.sh | |
parent | 2147880e40ee39ae07c8df9d3500080da467475d (diff) | |
download | Luxcena-Neo-101745c6a4a2c6a186be48182d48814177840c65.tar.gz Luxcena-Neo-101745c6a4a2c6a186be48182d48814177840c65.zip |
:construction: Chenged things, and written some docs
Diffstat (limited to 'bin/luxcena-neo-cli.sh')
-rwxr-xr-x | bin/luxcena-neo-cli.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |