Bug 224873 - rc script error in firstboot section
Summary: rc script error in firstboot section
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 11.1-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2018-01-03 18:00 UTC by Joffrey
Modified: 2018-01-03 18:00 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Joffrey 2018-01-03 18:00:37 UTC
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)