]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/stage2
Add last changes to core38 update.
[people/pmueller/ipfire-2.x.git] / lfs / stage2
index 8a8c8fd0ca71b69601609bb036e2c33d37195dc0..b2be2d6ca7bc74858a8c5ddf52fabd1124c877f6 100644 (file)
@@ -69,9 +69,7 @@ $(TARGET) :
        -ln -sv bash /bin/sh
 
        # Config files
-       for i in $(DIR_SRC)/config/etc/*; do \
-           [ -f $$i ] && cp $$i /etc; \
-       done
+       cp -rvf $(DIR_SRC)/config/etc/* /etc;
        touch /etc/mtab
        echo "$(NAME) v$(VERSION) - $(SLOGAN)" >  /etc/issue
        echo "===============================" >> /etc/issue
@@ -82,6 +80,8 @@ $(TARGET) :
        for i in $(DIR_SRC)/config/profile.d/*; do \
            [ -f $$i ] && cp $$i /etc/profile.d; \
        done
+       chmod 755 /etc/bashrc
+       ln -svf ../bashrc /etc/profile.d/bashrc.sh
 
        # Scripts
        for i in `find $(DIR_SRC)/src/scripts -maxdepth 1 -type f`; do \