mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
Add 20190307.sh post-upgrade script for migrating old motion conf files
This commit is contained in:
parent
48de800bc6
commit
fdaac060e6
8
board/common/overlay/usr/share/post-upgrade/20190307.sh
Executable file
8
board/common/overlay/usr/share/post-upgrade/20190307.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# convert configuration files to Motion 4.2 directives
|
||||
|
||||
for file in /data/etc/{motion,thread-*}.conf; do
|
||||
/usr/lib/python2.7/site-packages/motioneye/scripts/migrateconf.sh ${file}
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user