From: Rosen Penev Date: Sat, 5 Feb 2022 17:38:53 +0000 (-0800) Subject: base-files: replace fgrep with grep -F X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7994461a5a1c2cdd8bf4cc3fa38c4d496534f080;p=openwrt%2Fstaging%2Fneocturne.git base-files: replace fgrep with grep -F fgrep is deprecated and replaced by grep -F. The latter is used throughout the tree whereas this is the only usage of the former. Signed-off-by: Rosen Penev --- diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 0beff1608f..76b149b9fa 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -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!' }