projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prevent zombies from occuring when stdou/stdout are held open
[openwrt.git]
/
openwrt
/
target
/
default
/
target_skeleton
/
bin
/
firstboot
diff --git
a/openwrt/target/default/target_skeleton/bin/firstboot
b/openwrt/target/default/target_skeleton/bin/firstboot
index
2e7481d
..
cef258c
100755
(executable)
--- a/
openwrt/target/default/target_skeleton/bin/firstboot
+++ b/
openwrt/target/default/target_skeleton/bin/firstboot
@@
-1,6
+1,11
@@
#!/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"
This page took
0.022339 seconds
and
4
git commands to generate.