X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-linux%2Fhdw-linux.git;a=blobdiff_plain;f=scripts%2Fadapt_local;h=947b64efc1b4016515591483c73a4583b1ab93c8;hp=eda31fc7b83126cdc9d7f44e0e37b4dbd65ddadc;hb=f9e1046f593aea881f95b88221f7cd20722040cb;hpb=2a917c829c881b05abe852d1c906a1be24c9acb1 diff --git a/scripts/adapt_local b/scripts/adapt_local index eda31fc..947b64e 100755 --- a/scripts/adapt_local +++ b/scripts/adapt_local @@ -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