mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
cgroup: Call ifupdown in system cgroup
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
3b5cfc5ecf
commit
61781c72fe
3 files changed
+5
-5
No files matched your search
@@ -537,6 +537,7 @@ void networking(int updown)
|
||||
run("ifdown -a");
|
||||
_exit(0);
|
||||
}
|
||||
cgroup_service("network", pid, NULL);
|
||||
|
||||
print(pid > 0 ? 0 : 1, "%s networking", updown ? "Starting" : "Stopping");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user