xorg.conf
[hdw-linux/hdw-linux.git] / scripts / adapt_local
index eda31fc..947b64e 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
+       [ -f $root/etc/X11/XF86Config* ] && \
        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