From a56e4e2b296a0b1116a9d7ae15dc2ce3be024494 Mon Sep 17 00:00:00 2001 From: fbt Date: Tue, 30 Sep 2014 09:33:51 +0400 Subject: [PATCH] I've forgotten that I've tried to fix the damn script! --- init.d/hostname | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 init.d/hostname diff --git a/init.d/hostname b/init.d/hostname new file mode 100644 index 0000000..d470772 --- /dev/null +++ b/init.d/hostname @@ -0,0 +1,11 @@ +#!/usr/bin/env watchman + +if [[ -e "/etc/hostname" ]]; then + cfg_hostname="$(