##// END OF EJS Templates
0
Unknown -
r674:3d0ad1496295
parent child
Show More
@@ -48,7 +48,7 if [ "$ENABLE_INITRAMFS" = true ] ; then
48
48
49 if [ "$ENABLE_DHCP" = false ] ; then
49 if [ "$ENABLE_DHCP" = false ] ; then
50 # Get cdir from NET_ADDRESS e.g. 24
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 # Convert cdir ro netmask e.g. 24 to 255.255.255.0
53 # Convert cdir ro netmask e.g. 24 to 255.255.255.0
54 NET_MASK=$(cdr2mask "$cdir")
54 NET_MASK=$(cdr2mask "$cdir")
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant