55962bea32
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/hostname#36b544af16c694dbc908ce494ed088b454ab2298
11 lines
166 B
Bash
Executable File
11 lines
166 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
source /etc/sysconfig/network
|
|
|
|
if [ -n "${NISDOMAIN}" ] && [ -x /usr/bin/nisdomainname ]; then
|
|
nisdomainname ${NISDOMAIN}
|
|
exit $?
|
|
fi
|
|
|
|
exit 0
|