Product
Tinker Board 2
[AIOT] Tinker Board 2 Set a Script from Startup in Debian
- For Debian OS
Sample setting for starting up the applications when into Debian
This is a sample for the RTC clock, to set the applications will automatically run when into the Debian system
1. Create rtc_clock_init.sh or copy rtc_clock_init.sh file into /usr/local/bin/
folder
Add above green parts in rtc_clock_init.sh file
2. Setting the permission
3. Create rtc-ds3231.service or copy rtc-ds3231.service into /lib/systemd/system/
folder
Add above green parts in rtc_clock_init.sh file
4. Execute below command to enable RTC
5. Reboot the Debian system