Function to read hostname added.

This commit is contained in:
spl 2016-05-23 18:14:18 +01:00
parent 4547c5b259
commit f60f081a6f

View File

@ -304,6 +304,10 @@ do_configure_wifi_country() {
IFS=$oIFS
}
get_hostname() {
cat /etc/hostname | tr -d " \t\n\r"
}
do_change_hostname() {
if [ "$INTERACTIVE" = True ]; then
whiptail --msgbox "\