Update 'i.sh'
This commit is contained in:
parent
e507014f69
commit
98b4b88a56
4
i.sh
4
i.sh
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user