[PATCH] module-setup.sh: Simplify the network setup code