volatile-binds.prerm 392 B

1234567891011121314
  1. #!/bin/sh
  2. OPTS=""
  3. if [ -n "$D" ]; then
  4. OPTS="--root=$D"
  5. fi
  6. if type systemctl >/dev/null 2>/dev/null; then
  7. if [ -z "$D" ]; then
  8. systemctl stop var-volatile-lib.service var-volatile-cache.service var-volatile-spool.service var-volatile-srv.service
  9. fi
  10. systemctl $OPTS disable var-volatile-lib.service var-volatile-cache.service var-volatile-spool.service var-volatile-srv.service
  11. fi