From d924dff59624da53807eea0027cd3acda6fd53f8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 29 Sep 2016 12:50:00 +0100 Subject: [PATCH] quiet --- src/freedombone-app-dlna | 2 +- src/freedombone-client | 2 +- src/freedombone-mesh-batman | 2 +- src/freedombone-utils-firewall | 2 +- src/freedombone-utils-onion | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/freedombone-app-dlna b/src/freedombone-app-dlna index ea685a80..4f49c0ef 100755 --- a/src/freedombone-app-dlna +++ b/src/freedombone-app-dlna @@ -181,7 +181,7 @@ function install_dlna_main { if ! grep -q "max_user_watches" $COMPLETION_FILE; then echo 'fs.inotify.max_user_watches=65536' >> /etc/sysctl.conf fi - /sbin/sysctl -p + /sbin/sysctl -p -q function_check configure_firewall_for_dlna configure_firewall_for_dlna diff --git a/src/freedombone-client b/src/freedombone-client index 7741e7de..1802da7c 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -80,7 +80,7 @@ function global_rate_limit { fi sudo cp ~/sysctl.conf $SYSCTL_FILE sudo rm ~/sysctl.conf - sudo sysctl -p $SYSCTL_FILE + sudo sysctl -p -q $SYSCTL_FILE } function refresh_gpg_keys { diff --git a/src/freedombone-mesh-batman b/src/freedombone-mesh-batman index 0f12a2a6..b101702c 100755 --- a/src/freedombone-mesh-batman +++ b/src/freedombone-mesh-batman @@ -97,7 +97,7 @@ function global_rate_limit { else sed -i 's|net.ipv4.tcp_challenge_ack_limit.*|net.ipv4.tcp_challenge_ack_limit = 999999999|g' /etc/sysctl.conf fi - sysctl -p + sysctl -p -q } function status { diff --git a/src/freedombone-utils-firewall b/src/freedombone-utils-firewall index 3ed365b7..37f64a98 100755 --- a/src/freedombone-utils-firewall +++ b/src/freedombone-utils-firewall @@ -43,7 +43,7 @@ function global_rate_limit { else sed -i 's|net.ipv4.tcp_challenge_ack_limit.*|net.ipv4.tcp_challenge_ack_limit = 999999999|g' /etc/sysctl.conf fi - sysctl -p 2> /dev/null + sysctl -p -q } function enable_ipv6 { diff --git a/src/freedombone-utils-onion b/src/freedombone-utils-onion index 14066c16..14176497 100755 --- a/src/freedombone-utils-onion +++ b/src/freedombone-utils-onion @@ -309,7 +309,7 @@ function route_outgoing_traffic_through_tor { if ! grep -q "fs.file-max" /etc/sysctl.conf; then echo "fs.file-max=100000" >> /etc/sysctl.conf - /sbin/sysctl -p + /sbin/sysctl -p -q fi echo 'domain localdomain' > /etc/resolv.conf