1 2 3 4 5 6
#!/bin/sh # # domainname.sh Set the domainname. # test -r /etc/defaultdomain && cat /etc/defaultdomain >/proc/sys/kernel/domainname