diff options
| -rwxr-xr-x | remote/tools/base/data/etc/udhcpc.default.script | 6 | ||||
| -rw-r--r-- | remote/tools/plymouth/plymouth.build | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/remote/tools/base/data/etc/udhcpc.default.script b/remote/tools/base/data/etc/udhcpc.default.script index 02ca9b05..fe98dcf7 100755 --- a/remote/tools/base/data/etc/udhcpc.default.script +++ b/remote/tools/base/data/etc/udhcpc.default.script @@ -12,6 +12,12 @@ set > /tmp/udhcpc_env case $1 in bound|renew) + [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" + [ -n "$subnet" ] && NETMASK="netmask $subnet" + + ip addr add $ip/$(ipcalc -s -p $ip $subnet|sed s/.*=//) dev $interface + ip route add default via $router + echo "ip=$ip" > $IP_CONF echo "subnet=$subnet" >> $IP_CONF echo "broadcast=$broadcast" >> $IP_CONF diff --git a/remote/tools/plymouth/plymouth.build b/remote/tools/plymouth/plymouth.build index 424bc292..43b0e838 100644 --- a/remote/tools/plymouth/plymouth.build +++ b/remote/tools/plymouth/plymouth.build @@ -24,7 +24,7 @@ build() { BUILDDIR=$TOOL_DIR/$TOOL/build cd src/$VERSION - ./configure --enable-systemd-integration --disable-gtk + ./configure --enable-systemd-integration --disable-gtk --prefix="" make [ ! -d $BUILDDIR ] && mkdir -p $BUILDDIR DESTDIR=$BUILDDIR make install |
