summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorggilestro2019-06-24 18:08:48 +0100
committerggilestro2019-06-24 18:08:48 +0100
commitf4ae8e376c8f12967b4f7f7cfbb7605c4f1c5511 (patch)
tree3148ebfed75d5cc8ae7ef1e3ea5fb5b12c78db9d
parent0059e30001422ed7600649dc93d1e08f24329006 (diff)
downloadaur-f4ae8e376c8f12967b4f7f7cfbb7605c4f1c5511.tar.gz
Creates a machine-name and changes hostname
-rw-r--r--ethoscope-device.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/ethoscope-device.install b/ethoscope-device.install
index e3c33307938b..06949674bf95 100644
--- a/ethoscope-device.install
+++ b/ethoscope-device.install
@@ -12,9 +12,15 @@ post_install() {
#setting branch
git checkout python3.7
+ #create 000 machine file
+ echo "ETHOSCOPE_000" > /etc/machine-name
+ echo "ETHOSCOPE_000" > /etc/hostname
+
echo "enabling DEVICE specific systemd service files"
systemctl enable ethoscope_device.service ethoscope_update.service
+ echo "Please reboot the PI now."
+
}
## arg 1: the new package version