|
@@ -1,6 +1,9 @@
|
|
|
#!/bin/sh
|
|
#!/bin/sh
|
|
|
|
|
+[ -e /tmp/.failsafe ] && export FAILSAFE=1
|
|
|
|
|
+
|
|
|
[ -f /etc/banner ] && cat /etc/banner
|
|
[ -f /etc/banner ] && cat /etc/banner
|
|
|
-[ -e /tmp/.failsafe ] && cat /etc/banner.failsafe
|
|
|
|
|
|
|
+[ -n "$FAILSAFE" ] || cat /etc/banner.failsafe
|
|
|
|
|
+
|
|
|
fgrep -sq '/ overlay ro,' /proc/mounts && {
|
|
fgrep -sq '/ overlay ro,' /proc/mounts && {
|
|
|
echo 'Your JFFS2-partition seems full and overlayfs is mounted read-only.'
|
|
echo 'Your JFFS2-partition seems full and overlayfs is mounted read-only.'
|
|
|
echo 'Please try to remove files from /overlay/upper/... and reboot!'
|
|
echo 'Please try to remove files from /overlay/upper/... and reboot!'
|