From 5eb69b43803c3f5709cbbe3d104b138f771f3b42 Mon Sep 17 00:00:00 2001 From: Jared-Bloomer Date: Mon, 26 Aug 2024 16:37:06 -0400 Subject: [PATCH] removing old code. DUH! --- .../init-mod-netbox-slurpit-install/run | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-netbox-slurpit-install/run b/root/etc/s6-overlay/s6-rc.d/init-mod-netbox-slurpit-install/run index 5590d7d..1633185 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-mod-netbox-slurpit-install/run +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-netbox-slurpit-install/run @@ -1,30 +1,5 @@ #!/usr/bin/with-contenv bash -# This is an install script that is designed to run after init-mods-package-install -# so it can take advantage of packages installed -# init-mods-end depends on this script so that later init and services wait until this script exits - -echo "**** Installing Netbox SlurpIT plugin ****" -echo "**** see https://netboxlabs.com/netbox-plugins/ for more information ****" - -if ! command -v python3; then - echo "**** Python3 is not installed ****" - exit 1 -else: - if [ -f /lsiopy/bin/python3 ]; then - source /lsiopy/bin/activate - /lsiopy/bin/python3 -m pip install --no-cache-dir slurpit_netbox - echo "Please update configuration.py to include " - echo "PLUGINS = ['slurpit_netbox']" - /lsiopy/bin/deactivate - else: - echo "/lsiopy/bin/python3 not found!" - exit 1 - fi -fi - -#!/usr/bin/with-contenv bash - if ! pip list 2> /dev/null | grep -q "slurpit_netbox"; then echo "**** Adding slurpit_netbox and their deps to package install lists ****" echo "\