Skip to content

Instantly share code, notes, and snippets.

View jinstrong's full-sized avatar

Jinqiang He jinstrong

  • Espressif Systems
  • Shanghai, China
View GitHub Profile
@JosefJezek
JosefJezek / auto-mount.sh
Last active May 29, 2019 16:12
Auto Mount CIFS / SMB / Samba Share on Ubuntu / Debian
#!/bin/sh
# Auto Mount CIFS / SMB / Samba Share on Ubuntu / Debian
# Author: [Josef Jezek](http://about.me/josefjezek)
# Donate: [Gittip](https://www.gittip.com/josefjezek)
# Link: [Gist](https://gist.github.com/6390561)
# Hourly cron job: 0 */1 * * * /root/auto-mount.sh > /dev/null 2>&1
MOUNT_POINT=/media/data
SHARE=//example.com/data
DOMAIN=example.com