|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: netstart,v 1.133 2011/07/07 23:09:46 guenther Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: netstart,v 1.134 2011/10/07 16:36:26 deraadt Exp $ |
|
|
|
|
|
|
|
|
# Strip comments (and leading/trailing whitespace if IFS is set) |
|
|
# Strip comments (and leading/trailing whitespace if IFS is set) |
|
|
# from a file and spew to stdout |
|
|
# from a file and spew to stdout |
|
@ -195,10 +195,6 @@ else |
|
|
hostname=`hostname` |
|
|
hostname=`hostname` |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ -f /etc/defaultdomain ]; then |
|
|
|
|
|
domainname `stripcom /etc/defaultdomain` |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Set the address for the loopback interface. Bringing the interface up, |
|
|
# Set the address for the loopback interface. Bringing the interface up, |
|
|
# automatically invokes the IPv6 address ::1. |
|
|
# automatically invokes the IPv6 address ::1. |
|
|
ifconfig lo0 inet 127.0.0.1/8 |
|
|
ifconfig lo0 inet 127.0.0.1/8 |
|
|