|
|
@ -168,6 +168,10 @@ cd ~ && echo "ulimit -n 256000" >> .bashrc ; echo "ulimit -n 256000" >> .profile
|
|
|
|
# propagate the setting into the kernel
|
|
|
|
# propagate the setting into the kernel
|
|
|
|
update-initramfs -u -k all
|
|
|
|
update-initramfs -u -k all
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disable lid switch for laptops
|
|
|
|
|
|
|
|
echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf
|
|
|
|
|
|
|
|
systemctl restart systemd-logind.service
|
|
|
|
|
|
|
|
|
|
|
|
## Script Finish
|
|
|
|
## Script Finish
|
|
|
|
echo -e '\033[1;33m Finished....please restart the system \033[0m'
|
|
|
|
echo -e '\033[1;33m Finished....please restart the system \033[0m'
|
|
|
|
echo -e "\033[1;33mIP INFO\033[0m"
|
|
|
|
echo -e "\033[1;33mIP INFO\033[0m"
|
|
|
|