mirror of
https://github.com/troglobit/finit.git
synced 2026-11-07 16:01:08 +00:00
create resolv.conf symlink in /var
This commit is contained in:
1 parent
0ab62c8871
commit
ca9ee99f59
1 file changed
+1
@@ -306,6 +306,7 @@ int main()
|
|||||||
* Network stuff
|
* Network stuff
|
||||||
*/
|
*/
|
||||||
makepath("/var/run/resolvconf/interface");
|
makepath("/var/run/resolvconf/interface");
|
||||||
|
symlink("../../../etc/resolv.conf", "/var/run/resolvconf/resolv.conf");
|
||||||
|
|
||||||
touch("/var/run/utmp");
|
touch("/var/run/utmp");
|
||||||
chown("/var/run/utmp", 0, getgroup("utmp"));
|
chown("/var/run/utmp", 0, getgroup("utmp"));
|
||||||
|
|||||||
Reference in new issue
Block a user