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

Last change on this file since 34 was 34, checked in by bas, 18 years ago

CHECKINSTALL:

  • Added files for package generation with checkinstall

install.sh:

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