More patches from Peter Postma
This commit is contained in:
parent
2adb6a08e7
commit
c008c5f8b8
|
@ -1,14 +1,14 @@
|
|||
#!/bin/sh
|
||||
# $NetBSD: script1,v 1.2 2004/03/09 21:36:37 garbled Exp $
|
||||
# $NetBSD: script1,v 1.3 2004/03/10 01:19:45 garbled Exp $
|
||||
|
||||
A=`grep "^#$1 .* $2" /etc/inetd.conf`
|
||||
A=`grep "^#$1 .* $2[[:blank:]]" /etc/inetd.conf`
|
||||
if [ -n "$A" ]; then
|
||||
echo "NO"
|
||||
echo "YES"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
A=`grep "^$1 .* $2" /etc/inetd.conf`
|
||||
A=`grep "^$1 .* $2[[:blank:]]" /etc/inetd.conf`
|
||||
if [ -n "$A" ]; then
|
||||
echo "YES"
|
||||
echo "NO"
|
||||
|
|
Loading…
Reference in New Issue