annotate debian/prerm @ 419:e5bd838e0c27 noffle

[svn] fixed update-inetd
author godisch
date Fri, 20 Jun 2003 07:05:22 +0100
parents a7dbefcafc43
children b5aee36e8aba
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
1 #!/bin/sh
419
e5bd838e0c27 [svn] fixed update-inetd
godisch
parents: 415
diff changeset
2 # $Id: prerm 562 2003-06-20 06:05:22Z godisch $
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
3
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
4 set -e
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
5
419
e5bd838e0c27 [svn] fixed update-inetd
godisch
parents: 415
diff changeset
6 if port="`grep "/usr/bin/noffle -r" /etc/inetd.conf | sed 's/[[:space:]].*$//'`"; then
e5bd838e0c27 [svn] fixed update-inetd
godisch
parents: 415
diff changeset
7 update-inetd --disable "$port"
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
8 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
9
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
10 exit 0