cdre sh

test `whoami` = ‘root’ || echo “You must be root to execute the commands.” cdrecord -scanbus > /dev/null if ! (pidof kerneld || test -f “/proc/sys/kernel/modprobe”); then echo “Neither kerneld nor kmod are running to automatically load modules”. fi report_no_autoload() { echo “Ensure the module $1 is loaded automatically next time.” } if test ! … Read more