From b5a3ad126b496bb705ef872fc2ef75147998c504 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 8 Feb 2018 19:01:28 +0100 Subject: [PATCH] rc: fix access to shell for now PR: https://forum.opnsense.org/index.php?topic=7222.0 --- src/etc/rc.initial | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/etc/rc.initial b/src/etc/rc.initial index 3c492f52b..aef4dc506 100755 --- a/src/etc/rc.initial +++ b/src/etc/rc.initial @@ -9,10 +9,11 @@ trap : 2 trap : 3 -if [ "$(id -u)" != "0" ]; then - echo "Must be root." - exit 1 -fi +# XXX service(8) calls this without being root +#if [ "$(id -u)" != "0" ]; then +# echo "Must be root." +# exit 1 +#i # shell started with parameters, passthrough to real shell if [ -n "${*}" ]; then