slitaz-boot-scripts diff etc/init.d/bootopts.sh @ rev 475
modified ps to work with busybox as well as with procps
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 06 15:43:18 2023 +0100 (11 months ago) |
parents | a53219934611 |
children |
line diff
1.1 --- a/etc/init.d/bootopts.sh Tue Sep 15 15:00:15 2020 +0000 1.2 +++ b/etc/init.d/bootopts.sh Tue Jun 06 15:43:18 2023 +0100 1.3 @@ -124,7 +124,7 @@ 1.4 [ -d /home/$USER ] && mv /home/$USER /tmp/$USER-files 1.5 mount /dev/$DEVID /home && 1.6 case "$(/sbin/blkid | grep /dev/$DEVID:)" in 1.7 - *\"ntfs\"*|*\"vfat\"*) 1.8 + *\"ntfs\"*|*\"vfat\"*|*\"exfat\"*) 1.9 mount.posixovl -F /home -- -oallow_other -odefault_permissions -osuid ;; 1.10 esac 1.11 mount /home -o remount,uid=1000,gid=100 2>/dev/null 1.12 @@ -140,6 +140,9 @@ 1.13 mkswap /home/swap 1.14 add_swap_in_fstab /home/swap 1.15 fi 1.16 + 1.17 + fs=/home/boot/rootfs.gz 1.18 + [ -s $fs ] && ( zcat $fs || unlzma < $fs || cat $fs ) | ( cd / ; cpio -idmu ) 1.19 else 1.20 echo "Unable to find $DEVICE... " 1.21 fi