base-files: replace fgrep with grep -F
[openwrt/staging/wigyori.git] / package / base-files / files / etc / profile
index 0beff1608f607c7cd332024be89766ba3412f403..76b149b9fae5e5911ce1a1fb6555b02a5a7a0794 100644 (file)
@@ -3,7 +3,7 @@
 [ -f /etc/banner ] && cat /etc/banner
 [ -n "$FAILSAFE" ] && cat /etc/banner.failsafe
 
-fgrep -sq '/ overlay ro,' /proc/mounts && {
+grep -Fsq '/ overlay ro,' /proc/mounts && {
        echo 'Your JFFS2-partition seems full and overlayfs is mounted read-only.'
        echo 'Please try to remove files from /overlay/upper/... and reboot!'
 }