You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/platform/cervantes/obtain-ip.sh

9 lines
165 B
Bash

#!/bin/sh
./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 -F "${hostname}"