Last change
on this file since 41 was
40,
checked in by bas, 20 years ago
|
DEBIAN
- Added DEBIAN control directory
|
-
Property svn:executable set to
*
|
File size:
368 bytes
|
Rev | Line | |
---|
[40] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | DAEMON=beo_pxeconfigd |
---|
| 4 | PORT=6611 |
---|
| 5 | |
---|
| 6 | update-inetd --add "$DAEMON\tstream\ttcp\tnowait\troot.sys\t/usr/sbin/tcpd\t/usr/sbin/$DAEMON" |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | PXE_TEST=`grep $DAEMON /etc/services` |
---|
| 10 | |
---|
| 11 | if [ "$PXE_TEST" ]; then |
---|
| 12 | echo "WARNING: $DAEMON already in /etc/services" |
---|
| 13 | else |
---|
| 14 | echo -e "$DAEMON\t$PORT/tcp\t\t\t# pxe config daemon\n" >> /etc/services |
---|
| 15 | /etc/init.d/inetd reload |
---|
| 16 | fi |
---|
| 17 | |
---|
| 18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.