X-Git-Url: https://git.rapsys.eu/ihttpd/blobdiff_plain/7929df8652c7b25fcfe6578efba5ae0ed93eec8e..3d7a9e54623c2e40b45a7b000d78bf4c54182b73:/SOURCES/ihttpd.module-setup diff --git a/SOURCES/ihttpd.module-setup b/SOURCES/ihttpd.module-setup index 96cb60c..3829829 100644 --- a/SOURCES/ihttpd.module-setup +++ b/SOURCES/ihttpd.module-setup @@ -127,8 +127,8 @@ install() { -i "$initdir/etc/nsswitch.conf" # Require root user and group for our ihttpd process - `egrep -q '^root:' $initdir/etc/group` || egrep '^root:' /etc/group >> "$initdir/etc/group" - `egrep -q '^root:' $initdir/etc/passwd` || egrep '^root:' /etc/passwd >> "$initdir/etc/passwd" + `grep -Eq '^root:' $initdir/etc/group` || grep -E '^root:' /etc/group >> "$initdir/etc/group" + `grep -Eq '^root:' $initdir/etc/passwd` || grep -E '^root:' /etc/passwd >> "$initdir/etc/passwd" # For debug only if false; then