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.

4 年之前
4 年之前
4 年之前
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