We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0cb647a + 4a3ab10 commit b79760fCopy full SHA for b79760f
netconf_hook
@@ -11,8 +11,13 @@ run_hook ()
11
fi
12
13
if [ -n "${ip}" ]; then
14
- # setup network and save some values
15
- ipconfig "ip=${ip}" | while read line; do
+ if [ -n "$netconf_timeout" ]; then
+ ipconfig_cmd="ipconfig -t $netconf_timeout ip=${ip}"
16
+ else
17
+ ipconfig_cmd="ipconfig ip=${ip}"
18
+ fi
19
+ # setup network and save some values
20
+ $ipconfig_cmd | while read line; do
21
if [ "${line#"IP-Config:"}" != "${line}" ]; then
22
continue
23
0 commit comments