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