source: trunk/pxeconfig/DEBIAN/postrm @ 40

Last change on this file since 40 was 40, checked in by bas, 20 years ago

DEBIAN

  • Added DEBIAN control directory
  • Property svn:executable set to *
File size: 426 bytes
Line 
1#!/bin/sh
2
3DAEMON=beo_pxeconfigd
4
5if [ "$1" = "purge" ]
6then
7  update-inetd --remove "$DAEMON\tstream\ttcp\tnowait\troot.sys\t/usr/sbin/tcpd\t/usr/sbin/$DAEMON"
8  /etc/init.d/inetd reload
9
10  PXE_TEST=`grep $DAEMON /etc/services`
11
12  if [ "$PXE_TEST" ]; then
13    grep -v "$DAEMON" /etc/services > /tmp/services.tmp
14    mv /tmp/services.tmp /etc/services
15  else
16    echo "WARNING: no $DAEMON in /etc/services to remove"
17  fi
18
19fi
Note: See TracBrowser for help on using the repository browser.