您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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