From df8cf3553ce40e621406b541821ca165674eecb2 Mon Sep 17 00:00:00 2001 From: Benjamin Collet Date: Sat, 7 Apr 2018 22:05:36 +0200 Subject: [PATCH] Readme update --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 28481bf..137f185 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,11 @@ iface eth1 inet manual netns myns ``` -On invocation of `ifup` it will create the necessary directories under -`/etc/netns/` and an empty `/etc/netns//network/interfaces` file if -it doesn't already exist. - -If it does and the interface is configured it will invoke `ifup` inside the -namespace. +On invocation of `ifup`: + * if the namespace doesn't exist it will be created + * if the folders `if-down.d`, `if-post-down.d`, `if-pre-up.d` and `if-up.d` + under `/etc/netns//network` don't exist, they will be created + * if the `/etc/netns//network/interfaces` file doesn't exist a + blank one will be created + * if it does and the interface is configured the the script will invoke `ifup` + for this interface inside the namespace.