From 3d0ad1496295254801b730192ecd3fcc83c5aac5 2019-10-23 22:39:31 From: Unknown Date: 2019-10-23 22:39:31 Subject: [PATCH] 0 --- diff --git a/bootstrap.d/14-fstab.sh b/bootstrap.d/14-fstab.sh index c9e018b..a8c521f 100644 --- a/bootstrap.d/14-fstab.sh +++ b/bootstrap.d/14-fstab.sh @@ -48,7 +48,7 @@ if [ "$ENABLE_INITRAMFS" = true ] ; then if [ "$ENABLE_DHCP" = false ] ; then # Get cdir from NET_ADDRESS e.g. 24 - cdir=$(${NET_ADDRESS} | cut -d '/' -f2) + cdir=$(printf ${NET_ADDRESS} | cut -d '/' -f2) # Convert cdir ro netmask e.g. 24 to 255.255.255.0 NET_MASK=$(cdr2mask "$cdir")