little tweaks
This commit is contained in:
parent
42115ea9ce
commit
829ed19b04
1 changed files with 12 additions and 12 deletions
24
install.sh
24
install.sh
|
@ -54,25 +54,25 @@ function select_theme() {
|
||||||
select THEME_NAME in "${themes[@]}"; do
|
select THEME_NAME in "${themes[@]}"; do
|
||||||
case "${THEME_NAME}" in
|
case "${THEME_NAME}" in
|
||||||
'Vimix')
|
'Vimix')
|
||||||
splash 'Installing Vimix Theme'
|
splash 'Installing Vimix Theme...'
|
||||||
break;;
|
break;;
|
||||||
'Cyberpunk')
|
'Cyberpunk')
|
||||||
splash 'Installing Cyberpunk Theme'
|
splash 'Installing Cyberpunk Theme...'
|
||||||
break;;
|
break;;
|
||||||
'Shodan')
|
'Shodan')
|
||||||
splash 'Installing Shodan Theme'
|
splash 'Installing Shodan Theme...'
|
||||||
break;;
|
break;;
|
||||||
'fallout')
|
'fallout')
|
||||||
splash 'Installing fallout Theme'
|
splash 'Installing fallout Theme...'
|
||||||
break;;
|
break;;
|
||||||
'CyberRe')
|
'CyberRe')
|
||||||
splash 'Installing CyberRe Theme'
|
splash 'Installing CyberRe Theme...'
|
||||||
break;;
|
break;;
|
||||||
'minegrub-theme')
|
'minegrub-theme')
|
||||||
splash 'Installing Minecraft Theme'
|
splash 'Installing Minecraft Theme...'
|
||||||
break;;
|
break;;
|
||||||
'Quit')
|
'Quit')
|
||||||
echo_info 'User requested exit'
|
echo_info 'User requested exit...!'
|
||||||
exit 0;;
|
exit 0;;
|
||||||
*) echo_warning "invalid option \"${REPLY}\"";;
|
*) echo_warning "invalid option \"${REPLY}\"";;
|
||||||
esac
|
esac
|
||||||
|
@ -110,13 +110,13 @@ function config_grub() {
|
||||||
|
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
|
|
||||||
echo_primary 'Setting grub timeout to 10 seconds'
|
echo_primary 'Setting grub timeout to 60 seconds'
|
||||||
# remove default timeout if any
|
# remove default timeout if any
|
||||||
echo_info "sed -i '/GRUB_TIMEOUT=/d' /etc/default/grub"
|
echo_info "sed -i '/GRUB_TIMEOUT=/d' /etc/default/grub"
|
||||||
sed -i '/GRUB_TIMEOUT=/d' /etc/default/grub
|
sed -i '/GRUB_TIMEOUT=/d' /etc/default/grub
|
||||||
|
|
||||||
echo_info "echo 'GRUB_TIMEOUT=\"10\"' >> /etc/default/grub"
|
echo_info "echo 'GRUB_TIMEOUT=\"60\"' >> /etc/default/grub"
|
||||||
echo 'GRUB_TIMEOUT="10"' >> /etc/default/grub
|
echo 'GRUB_TIMEOUT="60"' >> /etc/default/grub
|
||||||
|
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ function update_grub() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
splash 'ChrisTechTips Grub2 Theme Installer'
|
splash 'The Matrix awaits you...'
|
||||||
|
|
||||||
check_root
|
check_root
|
||||||
select_theme
|
select_theme
|
||||||
|
@ -173,7 +173,7 @@ function main() {
|
||||||
config_grub
|
config_grub
|
||||||
update_grub
|
update_grub
|
||||||
|
|
||||||
echo_success 'All done !'
|
echo_success 'Boot Theme Update Successful!'
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue