Changeset 36


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

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

Location:
trunk/pxeconfig
Files:
1 deleted
3 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
  • 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
  • trunk/pxeconfig/install.sh

    r34 r36  
    11#!/bin/sh
    22
    3 cp hexls /usr/bin/.
    4 cp pxeconfig /usr/bin/.
    5 cp pxeconfigd /usr/sbin/.
     3cp hexls /usr/bin/beo_hexls
     4cp pxeconfig /usr/bin/beo_pxeconfig
     5cp pxeconfigd /usr/sbin/beo_pxeconfigd
    66
Note: See TracChangeset for help on using the changeset viewer.