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