From 98b4b88a56b9d211bd94e07db62e1c82d226760a Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Fri, 2 Sep 2022 22:44:30 -0500 Subject: [PATCH] Update 'i.sh' --- i.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/i.sh b/i.sh index 5b60aee..f84020f 100644 --- a/i.sh +++ b/i.sh @@ -168,6 +168,10 @@ cd ~ && echo "ulimit -n 256000" >> .bashrc ; echo "ulimit -n 256000" >> .profile # propagate the setting into the kernel update-initramfs -u -k all +# Disable lid switch for laptops +echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf +systemctl restart systemd-logind.service + ## Script Finish echo -e '\033[1;33m Finished....please restart the system \033[0m' echo -e "\033[1;33mIP INFO\033[0m"