diff options
author | Simon Rettberg | 2019-11-26 16:31:05 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-11-26 16:31:05 +0100 |
commit | 10e77b6e08c07cb6f66fc8932a49a45edb3dd8c5 (patch) | |
tree | 9dfc04a739d6d7f0d951c557f2b200009531f842 /core/rootfs/rootfs-stage31/data/inc/setup_network | |
parent | [rootfs-stage32] Keep original perms/owner of files intact (diff) | |
download | mltk-10e77b6e08c07cb6f66fc8932a49a45edb3dd8c5.tar.gz mltk-10e77b6e08c07cb6f66fc8932a49a45edb3dd8c5.tar.xz mltk-10e77b6e08c07cb6f66fc8932a49a45edb3dd8c5.zip |
[rootfs-stage31] Actually request hostname via DHCP...
Diffstat (limited to 'core/rootfs/rootfs-stage31/data/inc/setup_network')
-rw-r--r-- | core/rootfs/rootfs-stage31/data/inc/setup_network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rootfs/rootfs-stage31/data/inc/setup_network b/core/rootfs/rootfs-stage31/data/inc/setup_network index 4f4c8a02..6b97fb18 100644 --- a/core/rootfs/rootfs-stage31/data/inc/setup_network +++ b/core/rootfs/rootfs-stage31/data/inc/setup_network @@ -114,7 +114,7 @@ echo "GATEWAY=$GATEWAY" >> /run/network.conf echo "BRIDGE=$BRIDGE" >> /run/network.conf echo "UID=$UID" >> /run/network.conf -udhcpc $PARAM -O ntpsrv -O domain -O search -t 5 -T 3 -A 4 -s "/inc/udhcpc-trigger" -f -n -q -i "$BRIDGE" +udhcpc $PARAM -O hostname -O ntpsrv -O domain -O search -t 5 -T 3 -A 4 -s "/inc/udhcpc-trigger" -f -n -q -i "$BRIDGE" URET=$? # if these were empty before, udhcpc might have filled them in [ -z "$CLIENTIP" ] && CLIENTIP=$(cat /run/firstip) |