luckfox-pico/sysdrv/tools/board/luckfox_config/ubuntu/etc/rc.local

10 lines
175 B
Bash

#!/bin/bash
/usr/bin/filesystem_resize.sh
/etc/init.d/S50usbdevice start
luckfox-config load
if [ -n "$(hwclock | grep "invalid")" ]; then
date -s 2024-01-01
hwclock -w
fi