Ignore:
Timestamp:
05/25/04 12:51:20 (18 years ago)
Author:
bas
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pxeconfig/CHECKINSTALL/postremove-pak

    r34 r36  
    11#!/bin/sh
     2
     3DAEMON=beo_pxeconfigd
    24
    35if [ "$1" = "purge" ]
    46then
    5   update-inetd --remove "pxeconfigd\tstream\ttcp\tnowait\troot.sys\t/usr/sbin/tcpd\t/usr/sbin/pxeconfigd"
     7  update-inetd --remove "$DAEMON\tstream\ttcp\tnowait\troot.sys\t/usr/sbin/tcpd\t/usr/sbin/$DAEMON"
    68  /etc/init.d/inetd reload
    79
    8   PXE_TEST=`grep pxeconfigd /etc/services`
     10  PXE_TEST=`grep $DAEMON /etc/services`
    911
    1012  if [ "$PXE_TEST" ]; then
    11     grep -v "pxeconfigd" /etc/services > /tmp/services.tmp
     13    grep -v "$DAEMON" /etc/services > /tmp/services.tmp
    1214    mv /tmp/services.tmp /etc/services
    1315  else
    14     echo "WARNING: no pxeconfigd in /etc/services to remove"
     16    echo "WARNING: no $DAEMON in /etc/services to remove"
    1517  fi
    1618
Note: See TracChangeset for help on using the changeset viewer.