From 9db2763d2b71996a7884d542dec26a216d3921fd Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sun, 26 Apr 2009 22:21:06 +0200 Subject: [PATCH] Removed the installation scripts, which is now done through the Makefile. --- install.sh | 46 ---------------------------------------------- remove.sh | 29 ----------------------------- 2 files changed, 75 deletions(-) delete mode 100755 install.sh delete mode 100755 remove.sh diff --git a/install.sh b/install.sh deleted file mode 100755 index ce1d551..0000000 --- a/install.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash - -# breezed is a fan speed control daemon for Linux computers. -# -# Copyright (c) 2008, 2009 Francois Fleuret -# Written by Francois Fleuret -# -# This file is part of breezed. -# -# breezed is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3 as -# published by the Free Software Foundation. -# -# breezed is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with breezed. If not, see . - -PM_SLEEPD_DIR="/usr/lib/pm-utils/sleep.d/" - -make -k - -if [[ ! -a "/etc/breezed.conf" ]]; then - echo "You have to copy one of the breezed_*.conf file in /etc/breezed.conf" - echo "before installing the daemon." - exit 0 -fi - -cp ./breezed /usr/local/bin/ -cp ./breezed.sh /etc/init.d/ - -if [[ -d "${PM_SLEEPD_DIR}" ]]; then - cp ./breezed-pm-utils.sh ${PM_SLEEPD_DIR}/50breezed -else - echo "I can not find ${PM_SLEEPD_DIR}" - echo "On Debian, you should install pm-utils" -fi - -cp ./breezed.1 /usr/share/man/man1/ - -update-rc.d breezed.sh defaults - -/etc/init.d/breezed.sh start diff --git a/remove.sh b/remove.sh deleted file mode 100755 index 6fe1d7a..0000000 --- a/remove.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -# breezed is a fan speed control daemon for Linux computers. -# -# Copyright (c) 2008, 2009 Francois Fleuret -# Written by Francois Fleuret -# -# This file is part of breezed. -# -# breezed is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 3 as -# published by the Free Software Foundation. -# -# breezed is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with breezed. If not, see . - -/etc/init.d/breezed.sh stop - -update-rc.d -f breezed.sh remove - -rm /usr/local/bin/breezed -rm /etc/init.d/breezed.sh -rm -f /usr/lib/pm-utils/sleep.d/50breezed -rm /usr/share/man/man1/breezed.1 -- 2.39.5