#!/bin/sh -e # # edit /etc/rc.local to redirect /home/Documents # sudo gedit /etc/rc.local # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. mount --bind /home/Documents /home/is_derayo/Documents mount --bind /home/Documents/Downloads /home/is_derayo/Downloads mount --bind /home/Documents/Music /home/is_derayo/Music mount --bind /home/Documents/Pictures /home/is_derayo/Pictures mount --bind /home/Documents/Videos /home/is_derayo/Videos exit 0