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