mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
base-files: fix sysctl "&>-" bad file descriptor
echo bug >&- sh: write error: Bad file descriptor Signed-off-by: John Kirk <johnskirk@proton.me>
This commit is contained in:
parent
ff5f77ecdd
commit
ff617c1025
@ -39,6 +39,6 @@ apply_defaults() {
|
||||
start() {
|
||||
apply_defaults
|
||||
for CONF in /etc/sysctl.d/*.conf /etc/sysctl.conf; do
|
||||
[ -f "$CONF" ] && sysctl -e -p "$CONF" >&-
|
||||
[ -f "$CONF" ] && sysctl -q -e -p "$CONF"
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user