Boot script and service is critical to basic DietPi operation. It initializes the global variables shared in all DietPi scripts. Modifying or removing dietpi-boot and /DietPi/dietpi/boot is not supported.
I assume you are trying to reduce the boot time on system? What is the current boot time?
cat /var/log/boottime
If no value, reboot system (due to ramlog clearing every 1 hour)
What is the device you are using?
If no network:
- disable both eth and wlan in dietpi-config.
- disable “boot net wait” in “8 Network Options: NAS/Misc”
If network:
- Set static IP to reduce boot upto 5+ seconds (on wifi)