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/postinstall-pak

    r34 r36  
    11#!/bin/sh
    22
    3 update-inetd --add "pxeconfigd\tstream\ttcp\tnowait\troot.sys\t/usr/sbin/tcpd\t/usr/sbin/pxeconfigd"
     3DAEMON=beo_pxeconfigd
     4PORT=6611
     5
     6update-inetd --add "$DAEMON\tstream\ttcp\tnowait\troot.sys\t/usr/sbin/tcpd\t/usr/sbin/$DAEMON"
    47
    58
    6 PXE_TEST=`grep pxeconfigd /etc/services`
     9PXE_TEST=`grep $DAEMON /etc/services`
    710
    811if [ "$PXE_TEST" ]; then
    9   echo "WARNING: pxeconfigd already in /etc/services"
     12  echo "WARNING: $DAEMON already in /etc/services"
    1013else
    11   echo -e "pxeconfigd\t10000/tcp\t\t\t# pxe config daemon\n" >> /etc/services
     14  echo -e "$DAEMON\t$PORT/tcp\t\t\t# pxe config daemon\n" >> /etc/services
    1215  /etc/init.d/inetd reload
    1316fi
Note: See TracChangeset for help on using the changeset viewer.