diff options
| author | Rosen Penev | 2022-02-05 17:38:53 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2022-02-06 22:09:15 +0000 |
| commit | 7994461a5a1c2cdd8bf4cc3fa38c4d496534f080 (patch) | |
| tree | 6c001ec52816c15ee52f549b41106fa78e943887 | |
| parent | f6a01d7f5c3d945f031cf24ab66066806dd62db3 (diff) | |
| download | openwrt-7994461a5a1c2cdd8bf4cc3fa38c4d496534f080.tar.gz | |
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>
| -rw-r--r-- | package/base-files/files/etc/profile | 2 |
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!' } |