aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-02-05 09:38:53 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2022-02-06 23:09:15 +0100
commit7994461a5a1c2cdd8bf4cc3fa38c4d496534f080 (patch)
tree6c001ec52816c15ee52f549b41106fa78e943887 /package/base-files
parentf6a01d7f5c3d945f031cf24ab66066806dd62db3 (diff)
downloadupstream-7994461a5a1c2cdd8bf4cc3fa38c4d496534f080.tar.gz
upstream-7994461a5a1c2cdd8bf4cc3fa38c4d496534f080.tar.bz2
upstream-7994461a5a1c2cdd8bf4cc3fa38c4d496534f080.zip
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 <rosenp@gmail.com>
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/etc/profile2
1 files changed, 1 insertions, 1 deletions
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!'
}