NetBSD/share/sushi/network/yp/slave/script1
garbled 9b603a2514 Whew. Add an entire networking configuration tree for sushi. This gives
sushi the ability to do the following tasks:
Edit /etc/exports
Edit /etc/hosts
Change the hostname
Modify NIC configuration
Change the default route
Setup YP/NIS.
2001-04-25 03:43:25 +00:00

9 lines
144 B
Bash
Executable File

#!/bin/sh
# $NetBSD: script1,v 1.1 2001/04/25 03:43:38 garbled Exp $
if [ -f "/etc/myname" ]; then
cat /etc/defaultdomain
else
domainname
fi