tty1[0-9])
# Mac uses special mapping - tty0[01] are the zstty ports,
# tty1? are 'com' ports; for 'com' ports, we need to start
# at correct offset, i.e. subtract 10
ounit=${i#tty}
ounit=$(($ounit + 0))
if [ $ounit -lt 10 ]; then
unit=0$ounit
else
unit=$ounit
fi
ounit=$(($ounit - 10))
mkdev tty$unit c 45 $(($ounit + $dialin )) "" "" $u_uucp
mkdev dty$unit c 45 $(($ounit + $dialout)) "" "" $u_uucp
;;