StuartIanNaylor
e812907364
convert to zram
vor 5 Jahren
StuartIanNaylor
c6aac00d83
Make zram specific
vor 5 Jahren
StuartIanNaylor
36eb255583
exclude oldlog initial copy
vor 5 Jahren
StuartIanNaylor
1028e0735c
remove paste error
vor 5 Jahren
StuartIanNaylor
9dc331002f
add * to root rm
vor 5 Jahren
StuartIanNaylor
9acf640c63
Add oldlog funct
vor 5 Jahren
StuartIanNaylor
8820e0b329
Update install.sh
vor 5 Jahren
StuartIanNaylor
12e7a068a8
remove ignore systemd
vor 5 Jahren
StuartIanNaylor
34d32373c3
Add zram functionality
vor 5 Jahren
nacho
0205dae7d9
refactor installation script
vor 6 Jahren
azlux
34e4812369
for #47
vor 6 Jahren
azlux
2d7951a666
Suggestion from #50
Check if systemd log2ram service is running before the install;
vor 6 Jahren
azlux
16ebd29848
Use env instead of /bin/sh
better for flexible shell
vor 6 Jahren
azlux
e439c5ffdd
shellcheck typo
typo for #32
vor 6 Jahren
azlux
9c774dcbb7
Add uninstaller into /usr
Suggestion from #46
vor 6 Jahren
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.
vor 7 Jahren
Nathan Huizinga
dc8c788e05
Added logrotate support
vor 7 Jahren
Nathan Huizinga
4f7c1a33a2
Bug fix: avoid installing when still installed
vor 7 Jahren
Nathan Huizinga
0e76e8d655
Fixed: supporting a previous log2ram version again
vor 7 Jahren
Nathan Huizinga
658161bb04
Fixed consistent naming of /var/hdd.log
vor 7 Jahren
azlux
a31ba4927f
Remove old folder
vor 7 Jahren
azlux
b7c725f47d
Fix for #28
The init is useless and the mount was async.
vor 7 Jahren
azlux
bd1b669ed9
Stupid I am
Log on disk wasn't copy on install, so the shutdown destroy everything.
#18 #17
vor 7 Jahren
azlux
1e18687475
REBOOT after install
It's maybe the pb of #17
vor 7 Jahren
azlux
b232b00950
bad copy/paste ?
vor 7 Jahren
azlux
a54aee856d
Configuration file added
vor 7 Jahren
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.
vor 8 Jahren
Sailing74
e50a968dce
no x flag for logr2ram.server ( #3 )
no x flag for logr2ram.server
vor 8 Jahren
azlux
48980b2de2
I miss all chmod
vor 8 Jahren
azlux
f667036300
sudo check
vor 8 Jahren
azlux
873593776b
forget the #!
vor 8 Jahren
azlux
4df5b08121
Create install.sh
vor 8 Jahren