It’s not possible to run such procedures on Endless OS unfortunately, since the root filesystem is read-only. https://support.endlessos.org/en/endless-os/tech-intro
We are currently investigating some problems with the official Linux driver for RTL8821CE and hope to publish an OS update if solutions emerge.