Skip to content

Commit

Permalink
add init sshfs install and help script
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfeng committed Dec 5, 2012
1 parent afa8ace commit bc03f21
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ $TOOLS_DIR/init_yum.sh
#$TOOLS_DIR/init_rsync.sh
#$TOOLS_DIR/init_hostname.sh
#$TOOLS_DIR/init_vimrc.sh
#$TOOLS_DIR/init_sshfs.sh


exit
8 changes: 8 additions & 0 deletions sbin/init_sshfs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Author : danielfeng
# E-Mail : [email protected]

rpm -q fuse-sshfs || yum -y install fuse-sshfs

echo "Usage: sshfs root@远程挂载主机IP地址:/目录 /目标目录"
echo "Usage: 卸载 fusermount -u 目标目录"

0 comments on commit bc03f21

Please sign in to comment.