aboutsummaryrefslogtreecommitdiff
path: root/bin/luxcena-neo-cli.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/luxcena-neo-cli.sh')
-rwxr-xr-xbin/luxcena-neo-cli.sh6
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