halmartin / meraki-builder

Scripts and tools to assemble firmware images for various Meraki MS switches and MX routers
GNU General Public License v3.0
70 stars 16 forks source link

Fixed sh: Size: unknown operand error due to command substitution issue… #6

Closed randlor closed 4 years ago

randlor commented 4 years ago

Doesn't look like BusyBox shell likes command substitution:

# $(lsmod | grep -v vc_click)
-sh: Module: not found

Changed to run grep silently, and amended the logic on the if statement.