diff options
Diffstat (limited to 'core/openrc/hostname.initd')
-rw-r--r-- | core/openrc/hostname.initd | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/core/openrc/hostname.initd b/core/openrc/hostname.initd deleted file mode 100644 index 995e4b95d8..0000000000 --- a/core/openrc/hostname.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/runscript - -description="Sets the hostname of the machine." - -depend() { - keyword noprefix -} - -start() { - if [ -f /etc/hostname ] ; then - opts="-F /etc/hostname" - else - opts="localhost" - fi - ebegin "Setting hostname" - hostname $opts - eend $? -} |