]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/nslu2-binary-only/unslung-rootfs/remount-noatime.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / nslu2-binary-only / unslung-rootfs / remount-noatime.patch
1 --- nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.1~ 2004-11-09 21:45:52.000000000 +1030
2 +++ nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.1  2004-11-09 21:44:27.000000000 +1030
3 @@ -27,6 +27,14 @@
4  #/sbin/ifconfig ixp0 hw ether 00:C0:02:01:01:04
5  /bin/echo  "Starting Set CGI_ds.conf:"; /etc/rc.d/rc.bootbin; check_status
6  
7 +if ( [ -f /.ext3flash ] ) ; then
8 +  /bin/echo  "Remounting /dev/sda1 as ext3flash:"
9 +  /bin/mount -o remount,rw,noatime /dev/sda1
10 +  /bin/echo  "Remounting /dev/sda2 as ext3flash:"
11 +  /bin/mount -o remount,rw,noatime /dev/sda2
12 +  /bin/echo  "Removing swap from ext3flash:"
13 +  /sbin/swapoff /dev/sda3
14 +fi
15
16  /bin/echo  "Restore time and timezone:"; /etc/rc.d/rc.rstimezone; check_status
17  /bin/echo  "Restore usrgrpshares:"; /etc/rc.d/rc.reset_usrgrpshare; check_status
18 --- nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.quota~     2004-11-11 00:05:21.000000000 +1030
19 +++ nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.quota      2004-11-11 00:04:52.000000000 +1030
20 @@ -14,6 +14,11 @@
21      echo "Done."
22  fi
23  
24 +if ( [ -f /.ext3flash ] ) ; then
25 +    /bin/echo "Remounting /dev/sda1 as ext3flash:"
26 +    /bin/mount -o remount,rw,noatime /dev/sda1
27 +fi
28 +
29  if [ -x "/usr/bin/quotaon" ]
30  then
31      echo "Turning on quota."