-
-
Save sunnyszy/009543d313ec74a957bf6c7c82550dcc to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AbandonProcessGroup</key> | |
<true/> | |
<key>Label</key> | |
<string>local.automount.fat</string> | |
<key>StandardOutPath</key> | |
<string>/tmp/local.automount.fat.outlog</string> | |
<key>StandardErrorPath</key> | |
<string>/tmp/local.automount.fat.errorlog</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/sshfs</string> | |
<string>-o</string> | |
<string>allow_other</string> | |
<string>-o</string> | |
<string>defer_permissions</string> | |
<string>-F</string> | |
<string>/Users/zhenyus/.ssh/config</string> | |
<string>fat:/data/zhenyus</string> | |
<string>/mnt/fat</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AbandonProcessGroup</key> | |
<true/> | |
<key>Label</key> | |
<string>local.automount.login</string> | |
<key>StandardOutPath</key> | |
<string>/tmp/local.automount.login.outlog</string> | |
<key>StandardErrorPath</key> | |
<string>/tmp/local.automount.login.errorlog</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/sshfs</string> | |
<string>-o</string> | |
<string>allow_other</string> | |
<string>-o</string> | |
<string>defer_permissions</string> | |
<string>-F</string> | |
<string>/Users/zhenyus/.ssh/config</string> | |
<string>login:/home/zhenyus</string> | |
<string>/mnt/login</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put under
/Library/LaunchDaemons/
.To rerun the code: