Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make our system indicator files immutable

  • Loading branch information...
commit b77e435a061de846305987184de10ee2fe862216 1 parent 58518e6
Kris Moore kmoore134 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src-sh/xtrafiles/local/share/pcbsd/scripts/sys-init.sh
2  src-sh/xtrafiles/local/share/pcbsd/scripts/sys-init.sh
View
@@ -62,6 +62,7 @@ if [ "$1" = "desktop" ] ;then
# Set running desktop
pbreg set /PC-BSD/SysType PCBSD
touch /etc/defaults/pcbsd
+ chflags schg /etc/defaults/pcbsd
# Init the desktop
/usr/local/bin/pc-extractoverlay desktop --sysinit
@@ -90,6 +91,7 @@ if [ "$1" = "server" ] ; then
# Set running a server
pbreg set /PC-BSD/SysType TRUEOS
touch /etc/defaults/trueos
+ chflags schg /etc/defaults/trueos
# Init the server
/usr/local/bin/pc-extractoverlay server --sysinit
Please sign in to comment.
Something went wrong with that request. Please try again.