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:
426 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | DAEMON=beo_pxeconfigd |
---|
4 | |
---|
5 | if [ "$1" = "purge" ] |
---|
6 | then |
---|
7 | update-inetd --remove "$DAEMON\tstream\ttcp\tnowait\troot.sys\t/usr/sbin/tcpd\t/usr/sbin/$DAEMON" |
---|
8 | /etc/init.d/inetd reload |
---|
9 | |
---|
10 | PXE_TEST=`grep $DAEMON /etc/services` |
---|
11 | |
---|
12 | if [ "$PXE_TEST" ]; then |
---|
13 | grep -v "$DAEMON" /etc/services > /tmp/services.tmp |
---|
14 | mv /tmp/services.tmp /etc/services |
---|
15 | else |
---|
16 | echo "WARNING: no $DAEMON in /etc/services to remove" |
---|
17 | fi |
---|
18 | |
---|
19 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.