add post-upgrade script for password_hook

This commit is contained in:
Calin Crisan 2017-08-26 22:53:12 +03:00
parent 5f0594e088
commit 5d4cad5860

View File

@ -0,0 +1,5 @@
#!/bin/bash
# add password_hook motioneye setting
grep password_hook /data/etc/motioneye.conf &>/dev/null || echo -e 'password_hook /usr/libexec/meyepasswd' >> /data/etc/motioneye.conf