The last bracket shall not be glued to the directory.
The actual code is generating a runtime error like the following :
erwan@raspberrypi:~/download/log2ram $ sudo ./install.sh
Created symlink /etc/systemd/system/sysinit.target.wants/log2ram.service → /etc/systemd/system/log2ram.service.
./install.sh: 19: [: missing ]
##### Reboot to activate log2ram #####
This patch simply adds the missing space to make this script work.
- Since the cron job could be called before the user reboots after
install (or if log2ram is disabled), we check that the hdd log
location exists before syncing.
- Copy the log2ram.hourly sync script to cron's hourly directory on
install.