LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / lib / systemd / | Server Ip : 172.67.216.244 |
Filename | /lib/systemd/rhel-domainname |
Size | 158 |
Permission | rwxr-xr-x |
Owner | |
Create time | 08-Dec-2022 23:02 |
Last modified | 22-May-2020 10:44 |
Last accessed | 22-May-2020 10:44 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/usr/bin/bash
. /etc/sysconfig/network
if [ -n "${NISDOMAIN}" -a -x /usr/bin/domainname ]; then
domainname ${NISDOMAIN}
exit $?
fi
exit 0
. /etc/sysconfig/network
if [ -n "${NISDOMAIN}" -a -x /usr/bin/domainname ]; then
domainname ${NISDOMAIN}
exit $?
fi
exit 0