Mercurial > noffle
comparison debian/prerm @ 420:b5aee36e8aba noffle
[svn] fixed update-inetd
author | godisch |
---|---|
date | Fri, 20 Jun 2003 07:09:18 +0100 |
parents | e5bd838e0c27 |
children | 09e2729b462d |
comparison
equal
deleted
inserted
replaced
419:e5bd838e0c27 | 420:b5aee36e8aba |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # $Id: prerm 562 2003-06-20 06:05:22Z godisch $ | 2 # $Id: prerm 563 2003-06-20 06:09:18Z godisch $ |
3 | 3 |
4 set -e | 4 set -e |
5 | 5 |
6 if port="`grep "/usr/bin/noffle -r" /etc/inetd.conf | sed 's/[[:space:]].*$//'`"; then | 6 if [ "$1" = remove -o "$1" = deconfigure ] && \ |
7 port="`grep "/usr/bin/noffle -r" /etc/inetd.conf | sed 's/[[:space:]].*$//'`"; then | |
7 update-inetd --disable "$port" | 8 update-inetd --disable "$port" |
8 fi | 9 fi |
9 | 10 |
10 exit 0 | 11 exit 0 |