quiet
This commit is contained in:
parent
3f27c2a5ee
commit
d924dff596
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue