This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
log2ram
mirror of
https://github.com/azlux/log2ram.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
18
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45
Commits
3
Branches
875 KiB
Tree:
931054c8d9
master
openrc-tests
testing
1.7.2
1.7b1
1.6.1
1.6.0
1.5.2
1.5.1
1.5
1.4.4
1.4.3
1.4.2
1.4.1
v1.4
v1.3
v1.2.2
v1.2.1
v1.2
v1.1
v1.0
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '931054c8d9'
${ noResults }
log2ram
/
log2ram.hourly
log2ram.hourly
41 B
Raw
Normal View
History
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.
8 years ago
1
2
3
#! /bin/sh
/usr/local/bin/log2ram write