blob: e5fa4e29852c383111997dc96c72191c5cb803c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
|