X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=install.sh;fp=install.sh;h=0000000000000000000000000000000000000000;hb=9db2763d2b71996a7884d542dec26a216d3921fd;hp=ce1d5517e15799f4fe5b6eff38dea688a2c43efb;hpb=62f9018cb6a5ba63cbce4df55c4dc77d71056320;p=breezed.git 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