restore adminpw init script

This commit is contained in:
Calin Crisan 2017-05-28 19:58:58 +03:00
parent 000c9a7231
commit 85e2284937

View File

@ -1,4 +1,6 @@
#!/bin/bash
# echo your admin password here
if [ -f /data/etc/motion.conf ]; then
cat /data/etc/motion.conf | grep admin_password | grep -v _hash | cut -d ' ' -f 3-
fi