Skip to content
Browse files

We don't need to keep changing /boot/defaults/loader.conf after extra…

…cting the overlay,

those files are setup in GRUB now
  • Loading branch information...
1 parent 7d94108 commit 04630fb35bd54fb6b74309067b64f250ed7511ec @kmoore134 kmoore134 committed Sep 3, 2013
Showing with 0 additions and 12 deletions.
  1. +0 −12 src-sh/pc-extractoverlay/pc-extractoverlay
View
12 src-sh/pc-extractoverlay/pc-extractoverlay
@@ -105,18 +105,6 @@ post_extract_setup()
fi
fi
- # Make sure loader.conf.pcbsd is enabled
- grep -q 'loader.conf.pcbsd' /boot/defaults/loader.conf
- if [ $? -ne 0 ] ; then
- # Setup /boot/defaults/loader.conf
- sed -i '' 's|/boot/loader.conf /boot/loader.conf.local|/boot/loader.conf.pcbsd /boot/loader.conf /boot/loader.conf.local|g' /boot/defaults/loader.conf 2>/dev/null
- grep -q "loader.conf.pcbsd" /boot/defaults/loader.conf
- if [ $? -ne 0 ] ; then
- echo "WARNING: loader.conf.pcbsd not enabled in /boot/defaults/loader.conf"
- status="1"
- fi
- fi
-
# See if we need to adjust pkg.conf
grep -q "ARCH" /usr/local/etc/pkg.conf
if [ $? -eq 0 ] ; then

0 comments on commit 04630fb

Please sign in to comment.
Something went wrong with that request. Please try again.