1 2 3 4 5
#!/bin/sh if [ "$1" = "remove" -o "$1" = "purge" ]; then systemctl stop ndpisrvd.service fi