From 35569c10a2c52514fac8438261c51524c8a53b8d Mon Sep 17 00:00:00 2001 From: parazyd Date: Mon, 12 Feb 2018 14:38:19 +0100 Subject: [PATCH] Set 'decode' as the machine hostname. --- decode.blend | 1 + rootfs-overlay/arm/etc/cron.hourly/decode-update | 2 ++ 2 files changed, 3 insertions(+) create mode 100755 rootfs-overlay/arm/etc/cron.hourly/decode-update diff --git a/decode.blend b/decode.blend index b91fafa..b76186a 100644 --- a/decode.blend +++ b/decode.blend @@ -229,6 +229,7 @@ rc-update add dam-client default ## misc sed -i -e 's/devuan/decode/' /etc/hosts +echo decode /etc/hostname mkdir -p /var/lib/tor chown -R debian-tor:debian-tor /var/lib/tor rm -rf /var/lib/tor/hidden_service diff --git a/rootfs-overlay/arm/etc/cron.hourly/decode-update b/rootfs-overlay/arm/etc/cron.hourly/decode-update new file mode 100755 index 0000000..ff83283 --- /dev/null +++ b/rootfs-overlay/arm/etc/cron.hourly/decode-update @@ -0,0 +1,2 @@ +#!/bin/sh +# stub for the squashfs update mechanism