Skip to content

Commit 1fb6a94

Browse files
committed
remove invalid chars
1 parent 039a0f4 commit 1fb6a94

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/recovery.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [[ -f ${PW_RESET_FILE} ]]; then
2929
rm /home/pi/omnipy/data/key
3030
cp /home/pi/omnipy/scripts/recovery.key /home/pi/omnipy/data/key
3131
chown -R pi.pi /home/pi
32-
sudo systemctl start omnipy.service > /dev/null 2>&1
32+
systemctl start omnipy.service > /dev/null 2>&1
3333

3434
/bin/rm ${PW_RESET_FILE}
3535
fi
@@ -56,5 +56,4 @@ if [[ -f ${RECOVERY_FILE} ]]; then
5656
shellinaboxd -t --service /:pi:pi:/home/pi/omnipy:/home/pi/omnipy/scripts/console-ui.sh -p 80 -b
5757

5858
/bin/rm ${RECOVERY_FILE}
59-
fi
60-
btw
59+
fi

0 commit comments

Comments
 (0)