Made things a little more boot-cd friendly (specifically readonly /usr).

Also /etc/rc automatically determines where /usr should come from based
on where the ramdisk was copied from.
This commit is contained in:
Ben Gras
2005-05-03 08:56:01 +00:00
parent b49e963b5e
commit 4c80170111
4 changed files with 29 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ then
set -- `ls -lT $timestamp`
test "$6 $7 $9" = "$(date '+%b %d %Y')" && exit
fi
>$timestamp
>$timestamp 2>/dev/null # Makes for errors when booting from CD
# Remove three day old files from various tmp dirs.
cleantmp -3 /tmp /usr/tmp /usr/preserve /usr/spool/lpd /usr/spool/at/past