diff options
Diffstat (limited to 'target/default/target_skeleton/bin/firstboot')
-rwxr-xr-x | target/default/target_skeleton/bin/firstboot | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/default/target_skeleton/bin/firstboot b/target/default/target_skeleton/bin/firstboot index 2e7481db81..cef258cf39 100755 --- a/target/default/target_skeleton/bin/firstboot +++ b/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" |