Permalink
Browse files

Make sure we set server/desktop markers, for those migrating from Fre…

…eBSD

to PC-BSD / TrueOS
  • Loading branch information...
1 parent 30fa08f commit aa2a5eac6e0cbe443e39d09e8eb74b1bbc607562 @kmoore134 kmoore134 committed Jun 21, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 src-sh/pc-extractoverlay/pc-extractoverlay
@@ -63,6 +63,11 @@ do_desktop_overlay()
echo "pcbsd_boot=\"YES\"" >> /boot/loader.conf
fi
+ # Make sure this system is flagged as a desktop
+ if [ ! -e "/etc/defaults/pcbsd" ] ; then
+ touch /etc/defaults/pcbsd
+ fi
+
post_extract_setup
}
@@ -82,6 +87,12 @@ do_server_overlay()
echo -e "FAILED"
status="1"
fi
+
+ # Make sure this system is flagged as a server
+ if [ ! -e "/etc/defaults/trueos" ] ; then
+ touch /etc/defaults/trueos
+ fi
+
post_extract_setup
}

0 comments on commit aa2a5ea

Please sign in to comment.