From a9c544369f3999b868cfc1eb0dcb10e050defcc1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 8 Feb 2016 03:36:43 -0200 Subject: Initial cleanup Remove munin, fstab, crypttab, gdm and old subsystems. This major change is motivated by the fact that the configuration has grown too much along the years and is difficult to maintain. Simplification is then necessary to keep going. --- files/bin/ifcheck | 19 ------------------- files/bin/munin-cron | 20 -------------------- files/bin/munin-graph | 8 -------- 3 files changed, 47 deletions(-) delete mode 100755 files/bin/ifcheck delete mode 100644 files/bin/munin-cron delete mode 100644 files/bin/munin-graph (limited to 'files/bin') diff --git a/files/bin/ifcheck b/files/bin/ifcheck deleted file mode 100755 index c66f2ad..0000000 --- a/files/bin/ifcheck +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# -# Check if a network interface is up, fixing if needed. -# - -# Parameters -BASENAME="`basename $0`" -IFACE="$1" - -# Syntax check -if [ -z "$IFACE" ]; then - echo "usage: $BASENAME " - exit 1 -fi - -# Run -if ! LANG=C LC_ALL=C ifconfig $IFACE | grep -q "inet addr:"; then - ifup --force $IFACE -fi diff --git a/files/bin/munin-cron b/files/bin/munin-cron deleted file mode 100644 index 052ea2d..0000000 --- a/files/bin/munin-cron +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# This used to test if the executables were installed. But that is -# perfectly redundant and supresses errors that the admin should see. - -/usr/share/munin/munin-update $@ || exit 1 - -# The result of munin-limits is needed by munin-html but not by -# munin-graph. So run it in the background now, it will be done -# before munin-graph. - -/usr/share/munin/munin-limits $@ - -# We always launch munin-html. -# It is a noop if html_strategy is "cgi" -#nice /usr/share/munin/munin-html $@ || exit 1 - -# The result of munin-html is needed for munin-graph. -# It is a noop if graph_strategy is "cgi" -#nice /usr/share/munin/munin-graph --cron $@ || exit 1 diff --git a/files/bin/munin-graph b/files/bin/munin-graph deleted file mode 100644 index b8d8c21..0000000 --- a/files/bin/munin-graph +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# We always launch munin-html. -# It is a noop if html_strategy is "cgi" -nice /usr/share/munin/munin-html $@ || exit 1 - -# The result of munin-html is needed for munin-graph. -# It is a noop if graph_strategy is "cgi" -nice /usr/share/munin/munin-graph --cron $@ || exit 1 -- cgit v1.2.3