[Bug 224873] rc script error in firstboot section

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 3 18:00:37 UTC 2018


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 at FreeBSD.org
          Reporter: joff.au at 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.


More information about the freebsd-bugs mailing list