-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add init sshfs install and help script
- Loading branch information
1 parent
afa8ace
commit bc03f21
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 目标目录" |