projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix mount options for /tmp
[openwrt.git]
/
target
/
default
/
target_skeleton
/
bin
/
firstboot
diff --git
a/target/default/target_skeleton/bin/firstboot
b/target/default/target_skeleton/bin/firstboot
index
8bb0b3e
..
cef258c
100755
(executable)
--- a/
target/default/target_skeleton/bin/firstboot
+++ b/
target/default/target_skeleton/bin/firstboot
@@
-1,6
+1,11
@@
#!/bin/sh
# $Id$
#!/bin/sh
# $Id$
+mount | grep squashfs >&- || {
+ echo "You do not have a squashfs partition; aborting"
+ echo "(firstboot cannot be run on jffs2 based firmwares)"
+ return
+}
[ -f "/tmp/.firstboot" ] && {
echo "firstboot is already running"
[ -f "/tmp/.firstboot" ] && {
echo "firstboot is already running"
@@
-45,12
+50,6
@@
do {
} done
echo "done"
} done
echo "done"
-echo -n "fixing ipkg symlinks... "
-for file in $( find /usr/lib/ipkg/info/*list -type l;)
-do {
- rm $file; cp -f /rom/$file $file
-} done
-
touch /tmp/resolv.conf
ln -s /tmp/resolv.conf /etc/resolv.conf
touch /tmp/resolv.conf
ln -s /tmp/resolv.conf /etc/resolv.conf
This page took
0.01931 seconds
and
4
git commands to generate.