PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Speed Up Linux Mint Boot Script Example

Go down

Speed Up Linux Mint Boot Script Example Empty Speed Up Linux Mint Boot Script Example

Post by jamied_uk 20th June 2017, 03:52



Code:
sudo chmod +x *.sh




Code:
#!/bin/bash
# Usage: ./Run.sh
#
#
#
# community.linuxmint.com/tutorial/view/114
# yanstutorials.net/bash-scripting-tutorial/bash-if-statements.php
sudo update-grub2
echo "Restarting PC"
echo "Yes Or No?"
read input

if [ $input = yes ]
then
 sudo reboot
fi

Code:
./Run.sh

Inspired By community.linuxmint.com/tutorial/view/114
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum