[Initng] [InitNG] #477: we fail again with /usr on a different partition
Eric MSP Veith
eveith at wwweb-library.net
Thu Feb 1 17:31:25 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
I'm not exactly sure what the AWK code does, but we can get the domain name
from /etc/resolv.conf with this shell script:
while read line
do
case "$line" in
*domain*)
domain=${line##domain}
echo $domain
;;
esac
done < /etc/resolv.conf
HTH,
Eric
- ------ Original Message ------
Sender: "InitNG" <trac at initng.org>
Recipient:
Date: Tuesday 30 January 2007 05:55
Subject: Re: [Initng] [InitNG] #477: we fail again with /usr on a different
partition
> #477: we fail again with /usr on a different partition
> * domainname.ii : uses awk
> Ticket URL: </ticket/477#comment:11>
> InitNG <>
> The Next Generation InitSystem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFwhXhMpEdE19y46cRAq0bAJ4tgNcrwFrO3pJXYUBXfWL23wDTHQCff66U
608dkt2jz/3CjRwoTP9q4Qg=
=LB3N
-----END PGP SIGNATURE-----
More information about the Initng
mailing list