1 2 3 4 5 6 7
#!/bin/sh if [ "$2" != "POST-INSTALL" ]; then exit 0; fi (grep -v ^# /etc/services | grep canna >/dev/null) || \ (echo "Now, you need to add following entry to your /etc/services:" ; echo ; echo " canna 5680/tcp" ; echo )