The 'read' command seems to only read the first character and not the whole line. Example / comparison with bash: # /bin/dash # read MAX </proc/sys/net/netfilter/nf_conntrack_max # echo $MAX 2 # /bin/bash # read MAX </proc/sys/net/netfilter/nf_conntrack_max # echo $MAX 262144