S40network: use prepare_conf

This commit is contained in:
Calin Crisan 2019-01-11 14:02:58 +02:00
parent 2d7d5c68d0
commit 6f65d633b9

View File

@ -11,14 +11,7 @@ link_nego_timeout=10
source $watch_conf
if ! [[ -f $static_conf ]]; then
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
prepare_conf $static_conf $sys_static_conf $boot_static_conf
test -r $static_conf && source $static_conf
test -n "$os_version" || source /etc/init.d/base