We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 039a0f4 commit 1fb6a94Copy full SHA for 1fb6a94
scripts/recovery.sh
@@ -29,7 +29,7 @@ if [[ -f ${PW_RESET_FILE} ]]; then
29
rm /home/pi/omnipy/data/key
30
cp /home/pi/omnipy/scripts/recovery.key /home/pi/omnipy/data/key
31
chown -R pi.pi /home/pi
32
- sudo systemctl start omnipy.service > /dev/null 2>&1
+ systemctl start omnipy.service > /dev/null 2>&1
33
34
/bin/rm ${PW_RESET_FILE}
35
fi
@@ -56,5 +56,4 @@ if [[ -f ${RECOVERY_FILE} ]]; then
56
shellinaboxd -t --service /:pi:pi:/home/pi/omnipy:/home/pi/omnipy/scripts/console-ui.sh -p 80 -b
57
58
/bin/rm ${RECOVERY_FILE}
59
-fi
60
-btw
+fi
0 commit comments