Mercurial > noffle
comparison debian/prerm @ 415:a7dbefcafc43 noffle
[svn] removed useless call of invoke-rc.d
| author | godisch |
|---|---|
| date | Fri, 20 Jun 2003 06:46:35 +0100 |
| parents | b9018588cc52 |
| children | e5bd838e0c27 |
comparison
equal
deleted
inserted
replaced
| 414:898c744a63ca | 415:a7dbefcafc43 |
|---|---|
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 # $Id: prerm 554 2003-06-19 22:25:30Z godisch $ | 2 # $Id: prerm 558 2003-06-20 05:46:35Z godisch $ |
| 3 | 3 |
| 4 set -e | 4 set -e |
| 5 | 5 |
| 6 if [ -e /usr/share/debconf/confmodule ]; then | 6 if [ -e /usr/share/debconf/confmodule ]; then |
| 7 . /usr/share/debconf/confmodule | 7 . /usr/share/debconf/confmodule |
| 15 update-inetd --disable "$port" | 15 update-inetd --disable "$port" |
| 16 fi | 16 fi |
| 17 db_stop | 17 db_stop |
| 18 fi | 18 fi |
| 19 | 19 |
| 20 if [ -x /usr/sbin/invoke-rc.d ]; then | |
| 21 invoke-rc.d noffle stop | |
| 22 elif [ -x /etc/init.d/noffle ]; then | |
| 23 /etc/init.d/noffle stop | |
| 24 fi | |
| 25 | |
| 26 exit 0 | 20 exit 0 |
