Skip to content

Commit

Permalink
Merge pull request #1 from TravisPaul/master
Browse files Browse the repository at this point in the history
Use a default xorg.conf if one exists
  • Loading branch information
abs0 committed May 17, 2015
2 parents 55da60f + b590524 commit ae55ec9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dc-burn-netbsd
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ run_rc_command "$1"
chmod 755 $data_dir/etc/rc.d/readonlyroot
fi

# Provide xinit with a usable default xorg.conf
if [ -f $data_dir/etc/X11/xorg.conf.uskbd ] ; then
echo "Create xorg.conf"
cp $data_dir/etc/X11/xorg.conf.uskbd $data_dir/etc/X11/xorg.conf
fi

if grep -q 'rc_configured=NO' $data_dir/etc/rc.conf ; then
echo "Update rc.conf"
(
Expand Down

0 comments on commit ae55ec9

Please sign in to comment.