@@ -50,7 +50,7 if [ "$ENABLE_INITRAMFS" = true ] ; then | |||
|
50 | 50 | |
|
51 | 51 | if [ "$ENABLE_DHCP" = false ] ; then |
|
52 | 52 | # Get cdir from NET_ADDRESS e.g. 24 |
|
53 | cdir=$(${NET_ADDRESS} | cut -d '/' -f2) | |
|
53 | cdir=$(printf ${NET_ADDRESS} | cut -d '/' -f2) | |
|
54 | 54 | |
|
55 | 55 | # Convert cdir ro netmask e.g. 24 to 255.255.255.0 |
|
56 | 56 | NET_MASK=$(cdr2mask "$cdir") |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant