blob: 77ed92c46ea744693bce6749255ddc70a2dfe6df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
if [ "$1" = "" ] || [ "$1" = "-h" ]; then
echo -e "${blue}Usage:$NC mount-ftp <server_string>";
echo -e "${green}Servers:$NC ipx";
exit 1
else
case $1 in
ipx)
sshfs web0@nevera: -p 22222 ${HOME}/workspace/ipx_ssh &&
echo -e "${GREEN}IPX mounted.$NC"
;;
*) echo -e "${RED}Error:$NC Unknown Server" ;;
esac
fi
|