X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/64f9c0990a8c293729da9fe2b298cf6a5cca0680..3da2e35354f5d2fd2c21691fd72155bd645c3836:/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 2e7481db8..cef258cf3 100755 --- 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"