#!/bin/bash if [ -f /conf/server ] then if [[ $5 == `gawk '{print $1}' /conf/server`* ]] then echo `cat /conf/username`@$5 $6 >> /tmp/mount.log; chmod go-rwx /conf/id_rsa; sshfs `cat /conf/username`@$5 $6; else busybox mount $@; fi else busybox mount $@; fi