mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
postinst removing tabs indent
This commit is contained in:
parent
4d7ce60f39
commit
cb52ef65b4
1 changed files with 6 additions and 6 deletions
|
@ -71,12 +71,12 @@ if [ "$release" -eq 11 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$release" -ge 11 ]; then
|
if [ "$release" -ge 11 ]; then
|
||||||
check_grep=$(grep -c '^net\.ipv4\.tcp_window_scaling' /etc/sysctl.conf)
|
check_grep=$(grep -c '^net\.ipv4\.tcp_window_scaling' /etc/sysctl.conf)
|
||||||
if [ "$check_grep" -gt 0 ]; then
|
if [ "$check_grep" -gt 0 ]; then
|
||||||
echo "=== Removing net.ipv4.tcp_window_scaling"
|
echo "=== Removing net.ipv4.tcp_window_scaling"
|
||||||
sed -i "s/net\.ipv4\.tcp_window_scaling/#net.ipv4.tcp_window_scaling/g" /etc/sysctl.conf
|
sed -i "s/net\.ipv4\.tcp_window_scaling/#net.ipv4.tcp_window_scaling/g" /etc/sysctl.conf
|
||||||
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
|
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Adding Barracuda RBL to SpamAssassin
|
# Adding Barracuda RBL to SpamAssassin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue