slitaz-boot-scripts diff init @ rev 338

/etc/init.d/rcS: tazpkg does not support /var/run symlink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 26 15:37:00 2013 +0000 (2013-11-26)
parents 445b02a1da07
children ee519cf99dd6
line diff
     1.1 --- a/init	Mon Dec 31 13:46:05 2012 +0100
     1.2 +++ b/init	Tue Nov 26 15:37:00 2013 +0000
     1.3 @@ -145,7 +145,7 @@
     1.4  	[ "$dev" = "$root" ] || dev="$root ($dev)"
     1.5  	echo "Mount $dev..."
     1.6  	mnt /mnt
     1.7 -	arg posixovl && echo "And posixovl..." && mount.posixovl /mnt
     1.8 +	arg posixovl && echo "And posixovl..." && mount.posixovl -F /mnt
     1.9  fi
    1.10  got loopfs && echo "Into file $root..." &&
    1.11  	losetup /dev/loop0 /mnt/$root && mount /dev/loop0 /mnt
    1.12 @@ -189,7 +189,7 @@
    1.13  p=
    1.14  c=/mnt/.cdrom
    1.15  if [ -z "$(ls /mnt/rootfs* 2>/dev/null)" ]
    1.16 -then	root=cdrom/fs
    1.17 +then	root=/dev/cdrom/fs
    1.18  	got rodev
    1.19  	mkdir -p $c /mnt$c /mnt/.rw$c
    1.20  	mnt $c