summaryrefslogtreecommitdiff
path: root/src/backend/f_modeswitch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/f_modeswitch.sh')
-rw-r--r--src/backend/f_modeswitch.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/f_modeswitch.sh b/src/backend/f_modeswitch.sh
index 323afba..4f6c271 100644
--- a/src/backend/f_modeswitch.sh
+++ b/src/backend/f_modeswitch.sh
@@ -101,7 +101,7 @@ injectportfulltree () {
setbinmodecfg () {
ln -sf "$jailportcfgsource" "$jailportcfgtarget"
ln -sf "$jailportcfgtarget"/make.conf.amd64-binmode "$jailportcfgtarget"/make.conf
- eselect profile set redcore:default/linux/amd64/13.0
+ eselect profile set default/linux/amd64/17.0/hardened
env-update
. /etc/profile
}
@@ -115,7 +115,7 @@ binmode () {
setmixedmodecfg () {
ln -sf "$jailportcfgsource" "$jailportcfgtarget"
ln -sf "$jailportcfgtarget"/make.conf.amd64-mixedmode "$jailportcfgtarget"/make.conf
- eselect profile set redcore:default/linux/amd64/13.0
+ eselect profile set default/linux/amd64/17.0/hardened
env-update
. /etc/profile
}
@@ -129,7 +129,7 @@ mixedmode () {
setsrcmodecfg () {
ln -sf "$jailportcfgsource" "$jailportcfgtarget"
ln -sf "$jailportcfgtarget"/make.conf.amd64-srcmode "$jailportcfgtarget"/make.conf
- eselect profile set redcore:default/linux/amd64/13.0
+ eselect profile set default/linux/amd64/17.0/hardened
env-update
. /etc/profile
}