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