pmb.sideload: adapt sideload to support both doas and sudo
Fixes #2445 (closed)
Implements a new function to find out if the device supports doas or sudo, preferring doas. If one of those are found, the sideload function will use that su binary.
Fixes #2445 (closed)
Implements a new function to find out if the device supports doas or sudo, preferring doas. If one of those are found, the sideload function will use that su binary.