diff options
| author | Jonathan Bauer | 2013-05-29 16:46:57 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-05-29 16:46:57 +0200 |
| commit | f208e26e093735c7330ebdbfc9f44e5fb8b2721e (patch) | |
| tree | 8e6f6ae918b465f2ca713def55c024816ed04ed6 | |
| parent | beauty operations :) (diff) | |
| download | tm-scripts-f208e26e093735c7330ebdbfc9f44e5fb8b2721e.tar.gz tm-scripts-f208e26e093735c7330ebdbfc9f44e5fb8b2721e.tar.xz tm-scripts-f208e26e093735c7330ebdbfc9f44e5fb8b2721e.zip | |
[stage31] always start networking in stage 3.1
| -rwxr-xr-x | remote/rootfs/rootfs-stage31/data/init | 10 |
1 files changed, 6 insertions, 4 deletions
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 |
