slitaz-boot-scripts rev 57 1.8

Mount /home uid=500 if fs is FAT32
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 14 14:59:50 2008 +0100 (2008-03-14)
parents c16a926e5018
children 2a047edd09f0
files etc/init.d/bootopts.sh
line diff
     1.1 --- a/etc/init.d/bootopts.sh	Thu Mar 13 17:35:51 2008 +0100
     1.2 +++ b/etc/init.d/bootopts.sh	Fri Mar 14 14:59:50 2008 +0100
     1.3 @@ -34,7 +34,8 @@
     1.4  	if [ -n "$DEVID" ] && grep -q "$DEVID" /proc/partitions ; then
     1.5  		echo "Mounting /home on /dev/$DEVID... "
     1.6  		mv /home/hacker /tmp/hacker-home
     1.7 -		mount /dev/$DEVID /home
     1.8 +		mount /dev/$DEVID /home -o uid=500,gid=500 2>/dev/null \
     1.9 +			|| mount /dev/$DEVID /home
    1.10  		gen_home_swap
    1.11  	else
    1.12  		echo "Unable to find $DEVICE... "