diff options
author | Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt> | 2017-06-10 03:05:09 +0100 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-06-12 10:43:55 -0500 |
commit | 1e5322e5c55ec744a2cdcc3342ef6547eab7c46f (patch) | |
tree | 777c2f0b6c44a2f5bb03c88d09fe03d2fba755bd | |
parent | 199a210d2fbc524c9c400a06f832dabffd7ed1b3 (diff) |
init.d/hostname: fix indentation
This is for #143.
-rw-r--r-- | init.d/hostname.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/init.d/hostname.in b/init.d/hostname.in index af01241b..c144a710 100644 --- a/init.d/hostname.in +++ b/init.d/hostname.in @@ -11,7 +11,8 @@ description="Sets the hostname of the machine." -depend() { +depend() +{ after clock keyword -docker -lxc -prefix -systemd-nspawn } @@ -20,8 +21,8 @@ start() { local h source x if [ -s @SYSCONFDIR@/hostname ] && [ -r @SYSCONFDIR@/hostname ]; then - read h x <@SYSCONFDIR@/hostname - source=" from @SYSCONFDIR@/hostname" + read h x <@SYSCONFDIR@/hostname + source="from @SYSCONFDIR@/hostname" else # HOSTNAME variable used to be defined in caps in conf.d/hostname. # It is also a magic variable in bash. |