mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
20170827 post upgrade script: create /data/varlib directory
This commit is contained in:
parent
63e3262d22
commit
b676e2ba9d
3
board/common/overlay/usr/share/post-upgrade/20170827.sh
Normal file → Executable file
3
board/common/overlay/usr/share/post-upgrade/20170827.sh
Normal file → Executable file
@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# create the persisted /var/lib directory (/data/varlib)
|
||||
mkdir -p /data/varlib
|
||||
|
||||
# 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