A simple program for making sure folders are mounted. Eventually.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Stephen Starkey 2c790a4ece Converted to a thread 2 years ago
src/ensure_mounted Converted to a thread 2 years ago
.gitignore First commit 2 years ago
README.md First commit 2 years ago
ensure-mounted First commit 2 years ago
project.clj Some refactoring 2 years ago

README.md

ensure-mounted

A simple program for making sure folders are mounted. Eventually. Meant to be run periodically as a cron job.

Requirements

Deploy to Clojars

lein deploy clojars

Prepare your /etc/fstab

Add the following:

above the first mount point you want to ensure is mounted:

#== ensure-mounted

below the last mount point you want to ensure is mounted:

#== ensure-mounted-end

Install & Run

  1. Install inlein
  2. Run the following: curl https://git.calmabiding.me/scstarkey/ensure-mounted/raw/branch/master/ensure-mounted -o ~/bin/ensure-mounted && chmod +x ~/bin/ensure-mounted
./ensure-mounted