diff options
author | Felix Endres | 2007-02-27 18:58:57 +0100 |
---|---|---|
committer | Felix Endres | 2007-02-27 18:58:57 +0100 |
commit | 1a90b05c1a91c90a37232c84c4efd5a61d3ecb3c (patch) | |
tree | d73daa07787d66fe1a0a9466d131d276391b08f3 /initramfs/initrd-stuff/init | |
parent | Use appropriate start scripts (diff) | |
download | core-1a90b05c1a91c90a37232c84c4efd5a61d3ecb3c.tar.gz core-1a90b05c1a91c90a37232c84c4efd5a61d3ecb3c.tar.xz core-1a90b05c1a91c90a37232c84c4efd5a61d3ecb3c.zip |
Rootfs stacking functionality for unionfs
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@730 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-x | initramfs/initrd-stuff/init | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index d3881fc4..2d965bec 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -603,6 +603,12 @@ killall -9 dhcpcd dhclient pump udhcpc 2>/dev/null # copy machine configuration file into stage4 filesystem cp /etc/machine-setup /mnt/etc + +# If locations are given that should be unioned with the fs root, do it +if [ -n "$uniondirs" ]; then + include_in_fsroot_union $uniondirs +fi + # post init for some distro specific (fixme!! more elegant solution) postinit [ -s /initramfs/postinit.local ] && \ @@ -612,6 +618,9 @@ postinit echo "Running postinit.local - if boot stops here, check the script!" /bin/postinit.local; } + + + # start a debug shell in higher debug levels [ $DEBUGLEVEL -gt 2 -a $DEBUGLEVEL != 8 ] && /bin/sh |