25개 이상의 토픽을 선택하실 수 없습니다. 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