Bob Mottram 8 years ago
parent
commit
d924dff596

+ 1
- 1
src/freedombone-app-dlna View File

@@ -181,7 +181,7 @@ function install_dlna_main {
181 181
     if ! grep -q "max_user_watches" $COMPLETION_FILE; then
182 182
         echo 'fs.inotify.max_user_watches=65536' >> /etc/sysctl.conf
183 183
     fi
184
-    /sbin/sysctl -p
184
+    /sbin/sysctl -p -q
185 185
 
186 186
     function_check configure_firewall_for_dlna
187 187
     configure_firewall_for_dlna

+ 1
- 1
src/freedombone-client View File

@@ -80,7 +80,7 @@ function global_rate_limit {
80 80
     fi
81 81
     sudo cp ~/sysctl.conf $SYSCTL_FILE
82 82
     sudo rm ~/sysctl.conf
83
-    sudo sysctl -p $SYSCTL_FILE
83
+    sudo sysctl -p -q $SYSCTL_FILE
84 84
 }
85 85
 
86 86
 function refresh_gpg_keys {

+ 1
- 1
src/freedombone-mesh-batman View File

@@ -97,7 +97,7 @@ function global_rate_limit {
97 97
     else
98 98
         sed -i 's|net.ipv4.tcp_challenge_ack_limit.*|net.ipv4.tcp_challenge_ack_limit = 999999999|g' /etc/sysctl.conf
99 99
     fi
100
-    sysctl -p
100
+    sysctl -p -q
101 101
 }
102 102
 
103 103
 function status {

+ 1
- 1
src/freedombone-utils-firewall View File

@@ -43,7 +43,7 @@ function global_rate_limit {
43 43
     else
44 44
         sed -i 's|net.ipv4.tcp_challenge_ack_limit.*|net.ipv4.tcp_challenge_ack_limit = 999999999|g' /etc/sysctl.conf
45 45
     fi
46
-    sysctl -p 2> /dev/null
46
+    sysctl -p -q
47 47
 }
48 48
 
49 49
 function enable_ipv6 {

+ 1
- 1
src/freedombone-utils-onion View File

@@ -309,7 +309,7 @@ function route_outgoing_traffic_through_tor {
309 309
 
310 310
     if ! grep -q "fs.file-max" /etc/sysctl.conf; then
311 311
         echo "fs.file-max=100000" >> /etc/sysctl.conf
312
-        /sbin/sysctl -p
312
+        /sbin/sysctl -p -q
313 313
     fi
314 314
 
315 315
     echo 'domain localdomain' > /etc/resolv.conf