]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blobdiff - scripts/adapt_local
kernel update -> 2.6.11.7
[hdw-linux/hdw-linux.git] / scripts / adapt_local
index eda31fc7b83126cdc9d7f44e0e37b4dbd65ddadc..947b64efc1b4016515591483c73a4583b1ab93c8 100755 (executable)
@@ -33,7 +33,10 @@ if [ "$config" = "full" ] ; then
        # kernel config
        run_it cp $root/usr/src/linux/.config $target/usr/src/linux/.config
        # x11
        # kernel config
        run_it cp $root/usr/src/linux/.config $target/usr/src/linux/.config
        # x11
+       [ -f $root/etc/X11/XF86Config* ] && \
        run_it cp $root/etc/X11/XF86Config* $target/etc/X11/
        run_it cp $root/etc/X11/XF86Config* $target/etc/X11/
+       [ -f $root/etc/X11/xorg.conf* ] && \
+       run_it cp $root/etc/X11/xorg.conf* $target/etc/X11/
        # hdw config
        for i in profile fstab hosts host.conf HOSTNAME resolv.conf conf/ ; do
                run_it rm -rf $target/etc/$i
        # hdw config
        for i in profile fstab hosts host.conf HOSTNAME resolv.conf conf/ ; do
                run_it rm -rf $target/etc/$i