S33hostapd: use prepare_conf

This commit is contained in:
Calin Crisan 2019-01-11 13:47:09 +02:00
parent bf567ddf77
commit 89bf6b9720

View File

@ -14,14 +14,7 @@ link_watch_timeout=20
test -f $watch_conf && source $watch_conf
if ! [[ -f $conf ]]; then
if [[ -f $boot_conf ]]; then
cp $boot_conf $conf
elif [[ -f $sys_conf ]]; then
cp $sys_conf $conf
fi
fi
prepare_conf $conf $sys_conf $boot_conf
test -f $conf || exit 0
test -n "$os_version" || source /etc/init.d/base