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