on dietpi there is a symlink to /dev/null in /etc/udev/rules.d so this
command 'chmod go=r /etc/udev/rules.d/ /etc/udev/hwdb.d/' will make
/dev/null non-writeable for non-root users which is all kinds of trouble
until the next reboot
fix this by removing all the unnecessary messing with permissions, they
end up fine anyway
temporary directory wasn't being removed due to -z check
there is no temporary directory needed for this code, just remove the
creation and removal
dietpi only: turn off biastee in case kernel driver has already enabled it
In the following 2 files:
There were the following changes:
BLOCKED_MODULES variable is missing, add it
on dietpi there is a symlink to /dev/null in /etc/udev/rules.d so this command 'chmod go=r /etc/udev/rules.d/ /etc/udev/hwdb.d/' will make /dev/null non-writeable for non-root users which is all kinds of trouble until the next reboot fix this by removing all the unnecessary messing with permissions, they end up fine anyway
temporary directory wasn't being removed due to -z check there is no temporary directory needed for this code, just remove the creation and removal
dietpi only: turn off biastee in case kernel driver has already enabled it