source: trunk/pxeconfig/CHECKINSTALL/postinstall-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: 368 bytes
RevLine 
[34]1#!/bin/sh
2
[36]3DAEMON=beo_pxeconfigd
4PORT=6611
[34]5
[36]6update-inetd --add "$DAEMON\tstream\ttcp\tnowait\troot.sys\t/usr/sbin/tcpd\t/usr/sbin/$DAEMON"
[34]7
8
[36]9PXE_TEST=`grep $DAEMON /etc/services`
10
[34]11if [ "$PXE_TEST" ]; then
[36]12  echo "WARNING: $DAEMON already in /etc/services"
[34]13else
[36]14  echo -e "$DAEMON\t$PORT/tcp\t\t\t# pxe config daemon\n" >> /etc/services
[34]15  /etc/init.d/inetd reload
16fi
17
18
Note: See TracBrowser for help on using the repository browser.