1 2 3 4 5 6 7 8 9
#!/bin/sh set -e if systemctl >/dev/null 2>/dev/null; then if [ -z "$D" ]; then systemctl stop rng-tools.service systemctl disable rng-tools.service fi fi