Theres a small bug in /etc/bashrc.
this line:
DNS=`cat /var/cpanel/users/$whoami | grep DNS | awk -F= \'{ print $2 }\' | tr -d \' \'`
Fetches subdomains from the /var/cpanel/users/ file too, and shouldn\'t.
It can be fixed by changing it to:
DNS=`cat /var/cpanel/users/$whoami | grep DNS= | awk -F= \'{ print $2 }\' | tr -d \' \'`
Thanks.
Vince.
this line:
DNS=`cat /var/cpanel/users/$whoami | grep DNS | awk -F= \'{ print $2 }\' | tr -d \' \'`
Fetches subdomains from the /var/cpanel/users/ file too, and shouldn\'t.
It can be fixed by changing it to:
DNS=`cat /var/cpanel/users/$whoami | grep DNS= | awk -F= \'{ print $2 }\' | tr -d \' \'`
Thanks.
Vince.