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

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)
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2021-06-22 01:25:44 UTC
^Triage: assign.

To submitter: is this aging PR still relevant?
Comment 2 Piotr Pawel Stefaniak freebsd_committer 2021-10-07 16:22:24 UTC
Hopefully this is no longer an issue since we use checkyesno now.