hi I want to add these scripts to init.rc but I get the error that init.rc doesnt support echo.
echo device > /sys/devices/platform/usbc.0/mode
what is the right way to do such a thing in init.rc?
on 04/10/2013 – Made popular on 04/10/2013
I'm trying to understand the init/boot process. My system is LMDE, so I presume it will be pretty much standard Debian in that regard. I believe I more or less understand the basics of the init scripts, /etc/init.d/, /etc/defaults/ and so on, but there's this strange use of /lib/init/ for a few of the scripts that look to me like they should be in /etc/init.d/ with all the rest.