Added another semicolon for bash2 compliance (thanks to Jamie Briggs)
This commit is contained in:
parent
00f316810a
commit
0d167e1f5d
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ vpn_load () {
|
||||||
NET=$(ipcalc --network $ADR $MSK | cut -d"=" -f2)
|
NET=$(ipcalc --network $ADR $MSK | cut -d"=" -f2)
|
||||||
|
|
||||||
# MAC address
|
# MAC address
|
||||||
MAC=$(printf "fe:fd:%0.2x:%0.2x:%0.2x:%0.2x" $(echo $ADR | { IFS=. ; read a b c d; echo $a $b $c $d }))
|
MAC=$(printf "fe:fd:%0.2x:%0.2x:%0.2x:%0.2x" $(echo $ADR | { IFS=. ; read a b c d; echo $a $b $c $d; }))
|
||||||
|
|
||||||
# debugging
|
# debugging
|
||||||
# echo >&2
|
# echo >&2
|
||||||
|
|
Loading…
Reference in a new issue