diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
commit | f96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch) | |
tree | edb17ec2c4ea13c5acb1c7350957a249a820e28d /initscripts/initscripts-1.0/extractfs | |
parent | b6588aa6851fb220cedc387d21c51513ef8d67f4 (diff) |
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'initscripts/initscripts-1.0/extractfs')
-rw-r--r-- | initscripts/initscripts-1.0/extractfs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/initscripts/initscripts-1.0/extractfs b/initscripts/initscripts-1.0/extractfs index e69de29bb2..e5fa4e2985 100644 --- a/initscripts/initscripts-1.0/extractfs +++ b/initscripts/initscripts-1.0/extractfs @@ -0,0 +1,28 @@ +#!/bin/sh + +. /etc/default/rcS + +set -e + +if (grep -q 'ramfs.*/var.*ramfs' /proc/mounts) || (grep -q 'tmpfs.*/var.*tmpfs' /proc/mounts) +then + if test "$VERBOSE" != "no"; then echo -n "Populating /var filesystem: "; fi + cd / + tar -xpf /boot/var.tar + if test $? -ne 0; then + if test "$VERBOSE" != "no"; then echo "failed"; fi + else + if test "$VERBOSE" != "no"; then echo "done"; fi + fi +fi + +# Sharp ROM compatibility links +if ! [ -e /home/QtPalmtop ]; then + ln -sf /opt/QtPalmtop /home/QtPalmtop +fi + +if ! [ -e /home/root ]; then + ln -sf /root /home/root +fi + +exit 0 |