mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
S40network: use prepare_conf
This commit is contained in:
parent
2d7d5c68d0
commit
6f65d633b9
@ -11,14 +11,7 @@ link_nego_timeout=10
|
|||||||
|
|
||||||
source $watch_conf
|
source $watch_conf
|
||||||
|
|
||||||
if ! [[ -f $static_conf ]]; then
|
prepare_conf $static_conf $sys_static_conf $boot_static_conf
|
||||||
if [[ -f $boot_static_conf ]]; then
|
|
||||||
cp $boot_static_conf $static_conf
|
|
||||||
elif [[ -f $sys_static_conf ]]; then
|
|
||||||
cp $sys_static_conf $static_conf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
test -r $static_conf && source $static_conf
|
test -r $static_conf && source $static_conf
|
||||||
|
|
||||||
test -n "$os_version" || source /etc/init.d/base
|
test -n "$os_version" || source /etc/init.d/base
|
||||||
|
Loading…
x
Reference in New Issue
Block a user