More patches from Peter Postma

This commit is contained in:
garbled 2004-03-10 01:19:45 +00:00
parent 2adb6a08e7
commit c008c5f8b8
1 changed files with 3 additions and 3 deletions

View File

@ -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"