From 1c91d7498476f0027eb1a10c362e82e4848d58ce Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 8 Jan 2015 11:13:47 +0300 Subject: [PATCH] support for reading hostname from /etc/hostname --- rc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/rc.in b/rc.in index b3cc208..298f546 100755 --- a/rc.in +++ b/rc.in @@ -143,6 +143,7 @@ rc.shutdown() { } rc.hostname() { + [[ -f '/etc/hostname' ]] && { hostname "$(