MegaV0lt
099899a553
Update install.sh
Add a check for the size of /var/log and show a warning it it is too small
pirms 5 gadiem
MegaV0lt
8e1a0e4418
Update install.sh
Fix redirection
pirms 5 gadiem
MegaV0lt
e563d2c5ed
Update install.sh
Indicate that we install log2ram on the detected init-system
pirms 5 gadiem
MegaV0lt
9c42a06d25
Update install.sh
Suppress rc-service status message
pirms 5 gadiem
MegaV0lt
3740b50ec7
Update install.sh
Suppress "file not found" error when testing for init
pirms 5 gadiem
MegaV0lt
12662bc6ee
Update install.sh
try to detect init-system and install accordingly
pirms 5 gadiem
Azlux
bd38f34a25
better rsync use
typo #82 , improvement #81
pirms 5 gadiem
StuartIanNaylor
12e7a068a8
remove ignore systemd
pirms 5 gadiem
StuartIanNaylor
34d32373c3
Add zram functionality
pirms 5 gadiem
nacho
0205dae7d9
refactor installation script
pirms 6 gadiem
azlux
34e4812369
for #47
pirms 6 gadiem
azlux
2d7951a666
Suggestion from #50
Check if systemd log2ram service is running before the install;
pirms 6 gadiem
azlux
16ebd29848
Use env instead of /bin/sh
better for flexible shell
pirms 6 gadiem
azlux
e439c5ffdd
shellcheck typo
typo for #32
pirms 6 gadiem
azlux
9c774dcbb7
Add uninstaller into /usr
Suggestion from #46
pirms 6 gadiem
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.
pirms 7 gadiem
Nathan Huizinga
dc8c788e05
Added logrotate support
pirms 7 gadiem
Nathan Huizinga
4f7c1a33a2
Bug fix: avoid installing when still installed
pirms 7 gadiem
Nathan Huizinga
0e76e8d655
Fixed: supporting a previous log2ram version again
pirms 7 gadiem
Nathan Huizinga
658161bb04
Fixed consistent naming of /var/hdd.log
pirms 7 gadiem
azlux
a31ba4927f
Remove old folder
pirms 7 gadiem
azlux
b7c725f47d
Fix for #28
The init is useless and the mount was async.
pirms 7 gadiem
azlux
bd1b669ed9
Stupid I am
Log on disk wasn't copy on install, so the shutdown destroy everything.
#18 #17
pirms 7 gadiem
azlux
1e18687475
REBOOT after install
It's maybe the pb of #17
pirms 7 gadiem
azlux
b232b00950
bad copy/paste ?
pirms 7 gadiem
azlux
a54aee856d
Configuration file added
pirms 7 gadiem
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.
pirms 8 gadiem
Sailing74
e50a968dce
no x flag for logr2ram.server ( #3 )
no x flag for logr2ram.server
pirms 8 gadiem
azlux
48980b2de2
I miss all chmod
pirms 8 gadiem
azlux
f667036300
sudo check
pirms 8 gadiem
azlux
873593776b
forget the #!
pirms 8 gadiem
azlux
4df5b08121
Create install.sh
pirms 8 gadiem