S36ppp: use prepare_conf

This commit is contained in:
Calin Crisan 2019-01-11 14:00:11 +02:00
parent e17e87f569
commit 6dff0a0ad1

View File

@ -11,13 +11,7 @@ watch_conf="/data/etc/watch.conf"
source $watch_conf
if ! [[ -d $conf ]]; then
if [[ -d $boot_conf ]]; then
cp -r $boot_conf $conf
elif [[ -d $sys_conf ]]; then
cp -r $sys_conf $conf
fi
fi
prepare_conf $conf $sys_conf $boot_conf
test -e $conf/modem || exit 0
test -e $conf/apn || exit 0