source: trunk/pxeconfig/CHECKINSTALL/postremove-pak @ 36

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

Changed CHECKINSTALL scripts, do that all commands are prefixed by beo_
Changed port number to 6611, webmin uses 10000

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