chg: [kali] undo evil hack, sleep a while, maybe the disable sleep interferes with the execution of the script

pull/4152/head
Steve Clement 2019-02-13 21:28:23 +09:00
parent 6e2bcb2ee2
commit 5d896f4f24
3 changed files with 4 additions and 4 deletions

View File

@ -447,8 +447,6 @@ kaliUpgrade () {
sudo apt update
checkAptLock
sudo DEBIAN_FRONTEND=noninteractive apt install --only-upgrade bash libc6 -y
# Evil hack to make sure redis-server is installed before we roll our own config.
sudo DEBIAN_FRONTEND=noninteractive apt install redis-server -y
sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y
}
@ -1697,6 +1695,8 @@ installMISPonKali () {
space
# The following disables sleep on kali/gnome
disableSleep 2> /dev/null > /dev/null
debug "Sleeping 3 seconds to make sure the disable sleep does not confuse the execution of the script."
sleep 3
debug "Installing dependencies"
installDeps 2> /dev/null > /dev/null

View File

@ -323,6 +323,8 @@ installMISPonKali () {
space
# The following disables sleep on kali/gnome
disableSleep 2> /dev/null > /dev/null
debug "Sleeping 3 seconds to make sure the disable sleep does not confuse the execution of the script."
sleep 3
debug "Installing dependencies"
installDeps 2> /dev/null > /dev/null

View File

@ -318,8 +318,6 @@ kaliUpgrade () {
sudo apt update
checkAptLock
sudo DEBIAN_FRONTEND=noninteractive apt install --only-upgrade bash libc6 -y
# Evil hack to make sure redis-server is installed before we roll our own config.
sudo DEBIAN_FRONTEND=noninteractive apt install redis-server -y
sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y
}