mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
c399b4039e
> Closes #84 > Closes #77
13 lines
287 B
Bash
Executable File
13 lines
287 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
systemctl daemon-reload
|
|
systemctl enable log2ram.service log2ram-daily.timer
|
|
|
|
if [ "$1" == "configure" ]; then
|
|
echo "##### Reboot to activate log2ram #####"
|
|
echo "##### edit /etc/log2ram.conf to configure options ####"
|
|
fi
|
|
|
|
exit 0
|