From 0ab34c42554d00099aa50beb1828b0ebaec641af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 26 Jul 2020 10:29:15 +0200 Subject: personal-enabler: add --- personal-enabler/files/common.sh | 26 ++++++++++++++++++++++++++ personal-enabler/files/sentinel.sh | 10 ++++++++++ 2 files changed, 36 insertions(+) create mode 100644 personal-enabler/files/common.sh create mode 100644 personal-enabler/files/sentinel.sh (limited to 'personal-enabler/files') diff --git a/personal-enabler/files/common.sh b/personal-enabler/files/common.sh new file mode 100644 index 0000000..b6469ee --- /dev/null +++ b/personal-enabler/files/common.sh @@ -0,0 +1,26 @@ +#!/bin/sh +hostname="$(uci get system.@system[0].hostname)" +case "$hostname" in + work-*) + mail="karel.koci@nic.cz" + ;; + *) + mail="cynerd@email.cz" + ;; +esac + +uci -q batch <