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:
@ -19,11 +19,8 @@ case "$1" in
|
||||
echo "Trying to format the home partition"
|
||||
umount /dev/mmcblk0p3
|
||||
yes | mkfs.ext4 /dev/mmcblk0p3
|
||||
mount /dev/mmcblk0p3 /home
|
||||
mkdir -p /home/diya/etc/network
|
||||
mkdir -p /home/diya/etc/dropbear
|
||||
chown -R diya:diya /home/diya
|
||||
rm /boot/home_partition_should_be_formated
|
||||
reboot
|
||||
fi
|
||||
if [ -e "/boot/wpa_supplicant.conf" ];then
|
||||
install -m 0644 /boot/wpa_supplicant.conf /var/etc/network
|
||||
|
Reference in New Issue
Block a user