Commit Graph

27 Commits

Author SHA1 Message Date
Azlux bd38f34a25 better rsync use
typo #82, improvement #81
2019-08-20 01:32:46 +02:00
StuartIanNaylor 12e7a068a8 remove ignore systemd 2019-03-09 03:24:27 +00:00
StuartIanNaylor 34d32373c3 Add zram functionality 2019-03-08 04:58:06 +00:00
nacho 0205dae7d9 refactor installation script 2018-05-24 12:27:07 +02:00
azlux 34e4812369 for #47 2018-04-30 23:29:16 +02:00
azlux 2d7951a666 Suggestion from #50
Check if systemd log2ram service is running before the install;
2018-04-30 23:22:47 +02:00
azlux 16ebd29848 Use env instead of /bin/sh
better for flexible shell
2018-02-16 01:03:18 +01:00
azlux e439c5ffdd shellcheck typo
typo for #32
2018-02-16 00:55:45 +01:00
azlux 9c774dcbb7 Add uninstaller into /usr
Suggestion from #46
2018-02-15 22:39:25 +01:00
Nathan Huizinga a66120b94a Resolved conflict 2017-12-28 17:41:49 +01:00
Erwan Velu 737ffd1c19 install: Fixing code typo
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.
2017-12-20 22:41:45 +01:00
Nathan Huizinga dc8c788e05 Added logrotate support 2017-12-16 20:33:20 +01:00
Nathan Huizinga 4f7c1a33a2 Bug fix: avoid installing when still installed 2017-12-16 11:42:37 +01:00
Nathan Huizinga 0e76e8d655 Fixed: supporting a previous log2ram version again 2017-12-11 08:55:38 +01:00
Nathan Huizinga 658161bb04 Fixed consistent naming of /var/hdd.log 2017-12-07 17:42:40 +01:00
azlux a31ba4927f Remove old folder 2017-10-02 20:48:02 +02:00
azlux b7c725f47d Fix for #28
The init is useless and the mount was async.
2017-10-02 20:37:46 +02:00
azlux bd1b669ed9 Stupid I am
Log on disk wasn't copy on install, so the shutdown destroy everything.
#18 #17
2017-06-11 20:59:57 +02:00
azlux 1e18687475 REBOOT after install
It's maybe the pb of #17
2017-06-02 19:56:57 +02:00
azlux b232b00950 bad copy/paste ? 2017-05-02 14:47:59 +02:00
azlux a54aee856d Configuration file added 2017-05-02 00:43:37 +02:00
Nick Daly e238849069 Sync the ramlog back to disk, hourly.
- 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.
2016-11-30 11:41:41 -06:00
Sailing74 e50a968dce no x flag for logr2ram.server (#3)
no x flag for logr2ram.server
2016-08-02 20:55:15 +02:00
azlux 48980b2de2 I miss all chmod 2016-04-18 14:12:30 +02:00
azlux f667036300 sudo check 2016-04-18 14:07:20 +02:00
azlux 873593776b forget the #! 2016-04-18 12:07:33 +02:00
azlux 4df5b08121 Create install.sh 2016-04-18 12:06:16 +02:00