mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Cervantes: include hostname in DHCP request (#8481)
This commit is contained in:
@@ -2,5 +2,7 @@
|
||||
|
||||
./release-ip.sh
|
||||
|
||||
hostname=$(hostname -s)
|
||||
|
||||
# Use udhcpc to obtain IP.
|
||||
udhcpc -S -i eth0 -s /etc/udhcpc/default.script -t15 -T10 -A3 -b -q
|
||||
udhcpc -S -i eth0 -s /etc/udhcpc/default.script -t15 -T10 -A3 -b -q -F "${hostname}"
|
||||
|
||||
Reference in New Issue
Block a user