mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
add post-upgrade script for password_hook
This commit is contained in:
parent
5f0594e088
commit
5d4cad5860
5
board/common/overlay/usr/share/post-upgrade/20170827.sh
Normal file
5
board/common/overlay/usr/share/post-upgrade/20170827.sh
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user