create resolv.conf symlink in /var

This commit is contained in:
Olivier Blin
2008-06-06 17:52:00 +02:00
parent 0ab62c8871
commit ca9ee99f59
+1
View File
@@ -306,6 +306,7 @@ int main()
* Network stuff
*/
makepath("/var/run/resolvconf/interface");
symlink("../../../etc/resolv.conf", "/var/run/resolvconf/resolv.conf");
touch("/var/run/utmp");
chown("/var/run/utmp", 0, getgroup("utmp"));