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.

13 lines
259 B

  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. systemctl daemon-reload
  4. systemctl enable log2ram
  5. if [ "$1" == "configure" ]; then
  6. echo "##### Reboot to activate log2ram #####"
  7. echo "##### edit /etc/log2ram.conf to configure options ####"
  8. fi
  9. exit 0