hostname fix
This commit is contained in:
parent
5809069e11
commit
c8a93c7f11
@ -166,16 +166,13 @@ fi
|
||||
if [[ $index -eq 14 ]] && [[ $i == *"TRUE"* ]]; then
|
||||
echo "Changing Hostname"
|
||||
echo "Please input new Hostname"
|
||||
read hostname
|
||||
hostnamectl set-hostname $hostname
|
||||
read newhostname && hostnamectl set-hostname $newhostname
|
||||
fi
|
||||
|
||||
if [[ $index -eq 15 ]] && [[ $i == *"TRUE"* ]]; then
|
||||
echo "Changing sudo timeout"
|
||||
echo "Paste the following into the editor:"
|
||||
konsole --hold -e echo "Defaults env_reset,timestamp_timeout=30" ; sudo visudo
|
||||
# echo "Defaults env_reset,timestamp_timeout=30"
|
||||
# sudo visudo
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user