From 66125d349748b5201545adc763f5e4a13cd27941 Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Mon, 17 Oct 2016 21:42:38 +0200 Subject: [PATCH] Remove unused scripts --- scripts/common/shutdown.sh | 1 - scripts/common/sudoers.sh | 4 ---- scripts/debian/debian6-apt.sh | 3 --- scripts/fedora/shutdown.sh | 1 - scripts/fedora/sudoers.sh | 4 ---- 5 files changed, 13 deletions(-) delete mode 100644 scripts/common/shutdown.sh delete mode 100644 scripts/common/sudoers.sh delete mode 100644 scripts/debian/debian6-apt.sh delete mode 100644 scripts/fedora/shutdown.sh delete mode 100644 scripts/fedora/sudoers.sh diff --git a/scripts/common/shutdown.sh b/scripts/common/shutdown.sh deleted file mode 100644 index 7d7aee557..000000000 --- a/scripts/common/shutdown.sh +++ /dev/null @@ -1 +0,0 @@ -shutdown -P now diff --git a/scripts/common/sudoers.sh b/scripts/common/sudoers.sh deleted file mode 100644 index 5fce3dd2c..000000000 --- a/scripts/common/sudoers.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -eux - -sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=sudo' /etc/sudoers -sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers diff --git a/scripts/debian/debian6-apt.sh b/scripts/debian/debian6-apt.sh deleted file mode 100644 index 6cd65e923..000000000 --- a/scripts/debian/debian6-apt.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -eux - -sed -i 's/mirrors.kernel.org/archive.debian.org/g' /etc/apt/sources.list diff --git a/scripts/fedora/shutdown.sh b/scripts/fedora/shutdown.sh deleted file mode 100644 index bb7ec991b..000000000 --- a/scripts/fedora/shutdown.sh +++ /dev/null @@ -1 +0,0 @@ -/sbin/halt -h -p diff --git a/scripts/fedora/sudoers.sh b/scripts/fedora/sudoers.sh deleted file mode 100644 index da3af2d5a..000000000 --- a/scripts/fedora/sudoers.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -eux - -sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=sudo' /etc/sudoers -sed -i -e 's/%admin ALL=(ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers