diff --git a/board/common/overlay/etc/init.d/S40network b/board/common/overlay/etc/init.d/S40network index 93b03c81af..e33275a903 100755 --- a/board/common/overlay/etc/init.d/S40network +++ b/board/common/overlay/etc/init.d/S40network @@ -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