Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2018 18:00:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224873] rc script error in firstboot section
Message-ID:  <bug-224873-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224873

            Bug ID: 224873
           Summary: rc script error in firstboot section
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: joff.au@gmail.com

I created a personal firstboot script (for templating VM) but I have an error
in the /etc/rc script :
line 138, 144, 147: [: =: unexpected operator
It's a problem with ${root_rw_mount#[Yy][Ee][Ss]} = ""

I think you must write : "${root_rw_mount#[Yy][Ee][Ss]}" = ""
(add "" around the var)

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224873-8>