Commit b417b5cd authored by Adam Wujek's avatar Adam Wujek 💬

rootfs: don't run DHCP's default script when getting dot-config's URL via DHCP

Don't run DHCP's default script (/usr/share/udhcpc/default.script) when getting
URL to the dot-config via DHCP. When the script was run, then the IP address
was set but not the default routes. Now just get URL via DHCP, setting IP is
done by running script /etc/init.d/network from /etc/init.d/dot-config or from
rcS.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 1c4572c4
......@@ -14,6 +14,3 @@ tmpdir="/tmp"
if [ -n "$boot_file" ]; then
echo $boot_file > "$tmpdir"/dot-config_source_url
fi
# run also default script
/usr/share/udhcpc/default.script $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment