1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-08-01 05:31:02 +02:00

add settings to enable readonly fs

This commit is contained in:
DanyLE
2023-07-10 09:32:40 +02:00
parent 5ab57b8e5d
commit b358e26252
9 changed files with 31 additions and 13 deletions

View File

@ -25,9 +25,9 @@ case "$1" in
chown -R diya:diya /home/diya
rm /boot/home_partition_should_be_formated
fi
if [ -e "/boot/install" ];then
cp -rf /boot/install/* /home/diya
rm -rf /boot/install
if [ -e "/boot/wpa_supplicant.conf" ];then
install -m 0644 /boot/wpa_supplicant.conf /var/etc/network
rm /boot/wpa_supplicant.conf
reboot
fi
# display information