3 # root [[REMOTE_NAME] [SRVNAME]]
5 # remote name, selects the UFS server from the else-if below
6 # srv name: the name of the chan in #s
8 # when run with no args, this will also ifconfig and mount ufs for qemu
22 if [ "x$REMOTE" = "xc75" ]
24 srv 'tcp!169.229.49.175!1025' $SRVNAME
25 elif [ "x$REMOTE" = "xs141" ]
27 srv 'tcp!169.229.48.51!1025' $SRVNAME
28 elif [ "x$REMOTE" = "xqemu" ]
30 # so this works like usual for the qemu users
32 srv 'tcp!10.0.2.2!1025' $SRVNAME
34 echo "Unknown remote: $REMOTE!"
38 mount -a -c /srv/$SRVNAME /mnt