source: trunk/pxeconfig/CHECKINSTALL/postinstall-pak @ 36

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