From f208e26e093735c7330ebdbfc9f44e5fb8b2721e Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 29 May 2013 16:46:57 +0200 Subject: [stage31] always start networking in stage 3.1 --- remote/rootfs/rootfs-stage31/data/init | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'remote') diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index 534a195a..e5251025 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -78,14 +78,16 @@ fi mkdir -p /dev/shm/union /dev/shm/uniontmp /rorootfs mount -n -t tmpfs none /dev/shm/uniontmp -# mount stage32 per NFS if activated -# or per squashfs else +echo "Setup networking..." +/bin/setup_network + +# mount rootfs if [ -n "$NFS" ]; then - echo "Setup networking..." - /bin/setup_network + # mount stage32 per NFS if activated echo "Mounting stage 3.2 as NFS..." mount -t nfs -o ro,async,nolock ${NFSSERVER}:${NFSPATH} /rorootfs || { echo "Problem mounting NFS-Directory from ${NFSSERVER}:${NFSPATH}."; drop_shell; } else + # or per squashfs else echo "Mounting stage 3.2 as SquashFS..." mount -t squashfs /mnt/*.sqfs /rorootfs || { echo "Problem mounting Squashfs."; drop_shell; } fi -- cgit v1.2.3-55-g7522