Replace previous change by different test
[minix.git] / distrib / common / mkprotocols
blob4b89a31ba03b723a59fdc38f4656a0063eb39288
1 #!/bin/sh
2 # $NetBSD: mkprotocols,v 1.1 2008/05/01 22:01:16 garbled Exp $
3 # Generate a shaved down protocols file for install media.
5 echo "# \$NetBSD\$" > protocols
6 echo "# Shaved down /etc/protocols for installation media" >> protocols
7 /usr/bin/sed -e 's/#.*//' -e '/^$/d' -e 's/ *$//' -e 's/ */ /' ../../etc/protocols >> protocols