mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Bring back hostname option since it is not leading to the short write errors
This commit is contained in:
parent
e86a8e5741
commit
a63ce78441
@ -49,15 +49,15 @@ fi
|
||||
#
|
||||
|
||||
check_hostname() {
|
||||
# current_hostname=`$HOSTNAME`
|
||||
# if [ -z "$current_hostname" ]; then
|
||||
# $LOGGER "New Hostname ($interface): $new_host_name"
|
||||
# $HOSTNAME $new_host_name
|
||||
# elif [ "$current_hostname" = "$old_host_name" -a \
|
||||
# "$new_host_name" != "$old_host_name" ]; then
|
||||
# $LOGGER "New Hostname ($interface): $new_host_name"
|
||||
# $HOSTNAME $new_host_name
|
||||
# fi
|
||||
current_hostname=`$HOSTNAME`
|
||||
if [ -z "$current_hostname" ]; then
|
||||
$LOGGER "New Hostname ($interface): $new_host_name"
|
||||
$HOSTNAME $new_host_name
|
||||
elif [ "$current_hostname" = "$old_host_name" -a \
|
||||
"$new_host_name" != "$old_host_name" ]; then
|
||||
$LOGGER "New Hostname ($interface): $new_host_name"
|
||||
$HOSTNAME $new_host_name
|
||||
fi
|
||||
}
|
||||
|
||||
arp_flush() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user