A simple program for making sure folders are mounted. Eventually.

README.md 793B

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