summaryrefslogtreecommitdiff
path: root/recipes/initscripts/initscripts-1.0/slugos/domainname.sh
blob: e12de0e130ebb62d036f5cef222e516abb63845e (plain)
1
2
3
4
5
#!/bin/sh
# domainname.sh	Set the domainname.
#
test -r /etc/defaultdomain &&
	cat /etc/defaultdomain >/proc/sys/kernel/domainname