create /etc/sysconfig/network
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 3 Nov 2003 19:37:59 +0000 (19:37 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 3 Nov 2003 19:37:59 +0000 (19:37 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@350 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/distrib/redhat/initpost

index 963cdb5..91501b7 100755 (executable)
@@ -35,5 +35,9 @@ pushd "$vdir"/etc/init.d &>/dev/null ||
 
     mv -f halt{,.orig}
     ln -s /bin/true halt
+    
+popd >/dev/null
 
+pushd "$vdir"/etc &>/dev/null
+    echo 'NETWORKING=yes' >>sysconfig/network
 popd >/dev/null