initscripts: use $hostname from rc.conf, to mimic NetBSD.
--HG-- extra : convert_revision : 61b6484648b15667e10a7259a46f09253a5b6e3b
This commit is contained in:
parent
cffbaad064
commit
12cabc94c8
2 changed files with 1 additions and 8 deletions
|
@ -23,12 +23,10 @@ KEYMAP="es"
|
|||
CONSOLEFONT=
|
||||
CONSOLEMAP=
|
||||
|
||||
USELVM="no"
|
||||
HOSTNAME="xbps"
|
||||
|
||||
#
|
||||
# Services and daemons.
|
||||
#
|
||||
hostname="xbps"
|
||||
syslogd=yes
|
||||
klogd=yes
|
||||
|
||||
|
|
|
@ -50,8 +50,3 @@ fi
|
|||
if [ -f /etc/localtime ]; then
|
||||
hwclock $HWCLOCK_PARAMS --noadjfile
|
||||
fi
|
||||
|
||||
# Set hostname
|
||||
if [ -n "$HOSTNAME" ]; then
|
||||
hostname "$HOSTNAME"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue