diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-02-08 03:36:43 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-02-08 03:36:43 -0200 |
commit | a9c544369f3999b868cfc1eb0dcb10e050defcc1 (patch) | |
tree | 2f06ad6d179f2677368b2ec7d0932d5aaa0ad2ea /files/bin/ifcheck | |
parent | 6097bca6f5302765007f65a52f87999dbaefcff9 (diff) | |
download | puppet-nodo-a9c544369f3999b868cfc1eb0dcb10e050defcc1.tar.gz puppet-nodo-a9c544369f3999b868cfc1eb0dcb10e050defcc1.tar.bz2 |
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.
Diffstat (limited to 'files/bin/ifcheck')
-rwxr-xr-x | files/bin/ifcheck | 19 |
1 files changed, 0 insertions, 19 deletions
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 <interface>" - exit 1 -fi - -# Run -if ! LANG=C LC_ALL=C ifconfig $IFACE | grep -q "inet addr:"; then - ifup --force $IFACE -fi |