- #!/bin/sh
- OPTS=""
- if [ -n "$D" ]; then
- OPTS="--root=$D"
- fi
- if type systemctl >/dev/null 2>/dev/null; then
- if [ -z "$D" ]; then
- systemctl stop var-volatile-lib.service var-volatile-cache.service var-volatile-spool.service var-volatile-srv.service
- fi
- systemctl $OPTS disable var-volatile-lib.service var-volatile-cache.service var-volatile-spool.service var-volatile-srv.service
- fi
|