mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
S33hostapd: use prepare_conf
This commit is contained in:
parent
bf567ddf77
commit
89bf6b9720
@ -14,14 +14,7 @@ link_watch_timeout=20
|
|||||||
|
|
||||||
test -f $watch_conf && source $watch_conf
|
test -f $watch_conf && source $watch_conf
|
||||||
|
|
||||||
if ! [[ -f $conf ]]; then
|
prepare_conf $conf $sys_conf $boot_conf
|
||||||
if [[ -f $boot_conf ]]; then
|
|
||||||
cp $boot_conf $conf
|
|
||||||
elif [[ -f $sys_conf ]]; then
|
|
||||||
cp $sys_conf $conf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
test -f $conf || exit 0
|
test -f $conf || exit 0
|
||||||
|
|
||||||
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