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

123456789101112
  1. #!/usr/bin/env bash
  2. case "$1" in
  3. upgrade)
  4. [ -d /run/systemd/system/ ] && systemctl stop log2ram.service log2ram-daily.timer
  5. exit 0
  6. ;;
  7. *)
  8. [ -d /run/systemd/system/ ] && systemctl stop log2ram.service log2ram-daily.timer
  9. [ -d /run/systemd/system/ ] && systemctl disable log2ram.service log2ram-daily.timer
  10. exit 0
  11. ;;
  12. esac