Hi , Team:
I 'd finished a script for Rootfs Resize, and I want to excute this script automatically when the system startup。
How can I solve this problem?
Thank you in advance!
Hi hong li,
Check if you have crontab in your system by default it should. Follow below links to start a script at boot:
https://www.dexterindustries.com/howto/auto-run-python-programs-on-the-raspberry-pi/
cron - Running command at startup on crontab - Ask Ubuntu
Regards,
Karan Gajjar
Hi hong li,
If you have inittab file in /etc/ then you can add the command to execute your script on startup as the example of running xdm in below link:
What the Linux /etc/inittab file tells your system to do | Network World
Regards,
Karan Gajjar