From 427c41460b5b205bb918bb4ff7bc1b90e00c9b7d Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 14 May 2023 20:33:20 -0400
Subject: linhes-system: update

---
 linhes/linhes-system/PKGBUILD           |  8 ++++----
 linhes/linhes-system/lh_mtc.py          | 10 +++++-----
 linhes/linhes-system/lh_system_start.sh |  2 +-
 linhes/linhes-system/system-sudo.rules  |  1 +
 4 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD
index 5d8aab1..1ee44f6 100755
--- a/linhes/linhes-system/PKGBUILD
+++ b/linhes/linhes-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-system
 pkgver=9.0.0
-pkgrel=61
+pkgrel=62
 arch=('x86_64')
 #install=$pkgname.install
 pkgdesc="Everything that makes LinHES a system"
@@ -33,7 +33,7 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324'
             'c7a2b2de44645e3a905b39d7411e5b8b27b60bd2944533fd4655c3b175755da1'
             'ae34515e144830f424d3bd3f6b1b446892d62beed20bca6f0fb19b0bbb779f27'
             '5e6d128f879b0fe7c1a190cccd75d4e5d00afc161f3bc9e92ffa2d87242cc9df'
-            '7d4c5397326565b517799aef4e6301d12b672a5995e4de03cf6817f5de05855d'
+            'ca9ea52197837f7a562cea46f042fc0b3e988a37f73ae6d2ea481ee73ebc7097'
             '6d4fb0ed1a5ed961b3a3884dce093118e50c2981a9cd5837d20abc5a6d4fd8aa'
             '87875d9e5f5ce18208f419698ce69b6bcbcd08955a57a4a13940e715af58b787'
             '93d664f4a46fda05d0f754d19df40cbda120e325b80c07092345b14763993833'
@@ -46,7 +46,7 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324'
             'ebdb3ee0212e0cc72526bb5e50a032573e1894acb7bf75617243b0b49aa1f8f2'
             'cd3306991c8b63f5402c0e52405cc1a6581cb3c42af74b7c2f879c8192f95610'
             'e371c6a289c68fe200d7da856c20a8c579efa23178f4d62235f7359d7f6e49a1'
-            'c29eead1fee5b3738dae6fc1dc7592cfede0440cfe7ccfd1d8505327495f07f9'
+            'ee9a4df83e463e0c8a2e862680a83cff07a36cf3606faf60f57bc11190ffb1c9'
             'd2d69b2bf6315bd37ff5f5b2f0cde8ab2fb89bae18f8796dc5208ffc1a9d743e'
             'a745356952470a5d718bef1961309ea30e4fa6a2860961cd52e09d6ec11e708e'
             '1819085bd2c9106482c5f243b95fddf3dae69212330ab76cb493add5c26a45a4'
@@ -77,7 +77,7 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324'
             '7f5b366075fa61fadfcdbab2837f0c58f3a8004a59fc8948fec1647d2573ffaa'
             '023cba18580819018413608ec055d5ff8166b69525c32aa728ad1ecd7cf00aca'
             'dae799f09a076e0f573ea516bc357f56f2fd3aa8e35ec0cf54b6b62282960ee0'
-            'a9d0a94ff442453f0bec0b2e8afd591cf17b2845b6ae45ff300530114efd30af'
+            'ce36da1ca439ad45864cf8ab1372640e517084ec26a01d1df455d8d9d7b75f01'
             'cf884bad5caab9d5901b88b0ef41e3a39ea0b7a4614b8d14707d79941c899cbf'
             '3ed91fb5a7894f82fb4895e06d2e3f1df3ac4f82e46c970d4a85aaa4edc24cf1'
             '197ff4bb3c1cafcb197268cac335f1f75ae26873aca5833d62cc51fade85176c'
diff --git a/linhes/linhes-system/lh_mtc.py b/linhes/linhes-system/lh_mtc.py
index ad229c7..5a8b75e 100755
--- a/linhes/linhes-system/lh_mtc.py
+++ b/linhes/linhes-system/lh_mtc.py
@@ -123,11 +123,11 @@ def run_stuff():
             if not os.system('sudo /usr/bin/lh_system_backup_job'):
                 print("\nFinished Backup")
 
-        if ("--update" in sys.argv) or runall:
-            print("\n#######################################")
-            print("\n%s Running System Update" %(get_timestamp()))
-            if not os.system('/usr/bin/lh_system_host_update'):
-                print("\nFinished Update")
+#        if ("--update" in sys.argv) or runall:
+#            print("\n#######################################")
+#            print("\n%s Running System Update" %(get_timestamp()))
+#            if not os.system('/usr/bin/lh_system_host_update'):
+#                print("\nFinished Update")
 
         print("\n#######################################")
         continue_loop=False
diff --git a/linhes/linhes-system/lh_system_start.sh b/linhes/linhes-system/lh_system_start.sh
index eab8594..b042929 100755
--- a/linhes/linhes-system/lh_system_start.sh
+++ b/linhes/linhes-system/lh_system_start.sh
@@ -145,7 +145,7 @@ function start_user_apps() {
 }
 
 function start_myth() {
-    STARTCMD="/usr/bin/mythfrontend --syslog local6"
+    STARTCMD="/usr/bin/mythfrontend --syslog local6 --quiet"
     if [ ! -f ~/.config/lh_dontrunmythfrontend ]; then
         msg "Starting MythFrontend..."
         $STARTCMD 2>&1 &
diff --git a/linhes/linhes-system/system-sudo.rules b/linhes/linhes-system/system-sudo.rules
index 86e1b72..fd82e46 100644
--- a/linhes/linhes-system/system-sudo.rules
+++ b/linhes/linhes-system/system-sudo.rules
@@ -1 +1,2 @@
 mythtv    ALL=(ALL)       NOPASSWD: ALL
+zabbix-server    ALL=(ALL)       NOPASSWD: /usr/bin/nmap, /usr/share/zabbix/alertscripts/*
-- 
cgit v0.12

