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.

преди 5 години
преди 4 години
преди 4 години
преди 4 години
12345678910111213141516
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. systemctl daemon-reload
  4. systemctl enable log2ram.service log2ram-daily.timer
  5. rm -f /etc/cron.daily/log2ram
  6. rm -f /etc/cron.hourly/log2ram
  7. if [ "$1" == "configure" ]; then
  8. echo "##### Reboot to activate log2ram #####"
  9. echo "##### edit /etc/log2ram.conf to configure options ####"
  10. fi
  11. exit 0