summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-03-30 13:34:52 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-03-30 13:34:52 +0000
commitcd76515e209323639aebb2744e5fb667d070d498 (patch)
tree755dfba95509fa4eb43bf595697494f17552af69
parente1e2d20087f57599c4da339eaba7c6f6accb98c8 (diff)
Keep all comments on separate lines so they are stripped
from scripts put on floppy images.
-rw-r--r--distrib/miniroot/install.sub8
1 files changed, 5 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 4499a01e4b2..8552273b387 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.193 2002/03/30 01:29:18 deraadt Exp $
+# $OpenBSD: install.sub,v 1.194 2002/03/30 13:34:51 krw Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2002 Todd Miller, Theo de Raadt, Ken Westerback
@@ -752,7 +752,8 @@ enable_network() {
ifconfig $if $name $mask $bcaddr $ext1 $ext2 down
cmd="dhclient $if"
;;
- "up") # The only one of these guaranteed to be set is $if
+ "up")
+ # The only one of these guaranteed to be set is $if
# the remaining ones exist so that media controls work
cmd="ifconfig $if $name $mask $bcaddr $ext1 $ext2 up"
;;
@@ -787,7 +788,8 @@ enable_network() {
fi
[ "$alias" ] && rtcmd="; route -n add -host $name 127.0.0.1"
;;
- inet6) # Ignore IPv6 setup
+ inet6)
+ # Ignore IPv6 setup
continue
;;
*) cmd="$cmd $mask $bcaddr"