]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/nslu2-binary-only/unslung-rootfs/tmp-handling.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 / tmp-handling.patch
1 --- nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.1.orig     2005-01-16 09:37:41.000000000 +1030
2 +++ nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.1  2005-01-16 09:42:09.000000000 +1030
3 @@ -33,6 +33,10 @@
4  /bin/echo  "Starting download:"; /usr/sbin/download
5  /bin/echo  "Starting INET Server:"; . /etc/rc.d/rc.xinetd; check_status
6 +if ( [ ! -f /.sda1root ] && [ ! -f /.sda2root ] && [ ! -f /.sdb1root ] && [ ! -f /.sdb2root ] ) ; then
7  /bin/echo  "Creating ramfs for /tmp:"; mount -t ramfs none /tmp -o maxsize=512
8 +fi
9 +/bin/rm -rf /tmp/* /mnt/backup/*
10 +/bin/chmod 1777 /tmp
11  /bin/echo  "Starting QuickSet Daemon :"; . /etc/rc.d/rc.quickset
12  /bin/echo  "Starting Crond :"; . /etc/rc.d/rc.crond
13  /bin/echo  "Starting Rest Task :"; . /etc/rc.d/rc.local