Speed Up Linux Mint Boot Script Example

View previous topic View next topic Go down

Speed Up Linux Mint Boot Script Example

Post by jamied_uk on 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
avatar
jamied_uk
Admin

Posts : 2278
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top


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