|
@@ -4,6 +4,10 @@ set -euo pipefail |
|
|
systemctl daemon-reload |
|
|
systemctl daemon-reload |
|
|
systemctl enable log2ram.service log2ram-daily.timer |
|
|
systemctl enable log2ram.service log2ram-daily.timer |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rm -f /etc/cron.daily/log2ram |
|
|
|
|
|
rm -f /etc/cron.hourly/log2ram |
|
|
|
|
|
|
|
|
if [ "$1" == "configure" ]; then |
|
|
if [ "$1" == "configure" ]; then |
|
|
echo "##### Reboot to activate log2ram #####" |
|
|
echo "##### Reboot to activate log2ram #####" |
|
|
echo "##### edit /etc/log2ram.conf to configure options ####" |
|
|
echo "##### edit /etc/log2ram.conf to configure options ####" |
|
|