usage() {
cat <<EOF
usage: ${0##*/} [OPTS] start|stop NETNS_NAME
+Setup new or systemd created network namespace with nat and mount namespace
-c, --create Create network namespace. For running outside systemd private net.
-h, --help Show this help and exit.
if $create; then
ip netns del $nn
fi
+ if mountpoint /root/mount_namespaces/$nn >/dev/null; then
+ umount /root/mount_namespaces/$nn
+ fi
}
case $action in