386fe0d4e5b860f90dbded7b3da64cded350a7e2
[breezed.git] / remove.sh
1 #!/bin/bash
2
3 #  breezed is a fan speed control daemon for Linux computers.
4 #
5 #  Copyright (c) 2008 Francois Fleuret
6 #  Written by Francois Fleuret <francois@fleuret.org>
7 #
8 #  This file is part of breezed.
9 #
10 #  breezed is free software: you can redistribute it and/or modify it
11 #  under the terms of the GNU General Public License version 3 as
12 #  published by the Free Software Foundation.
13 #
14 #  breezed is distributed in the hope that it will be useful, but
15 #  WITHOUT ANY WARRANTY; without even the implied warranty of
16 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 #  General Public License for more details.
18 #
19 #  You should have received a copy of the GNU General Public License
20 #  along with breezed.  If not, see <http://www.gnu.org/licenses/>.
21
22 /etc/init.d/breezed.sh stop
23
24 update-rc.d -f breezed.sh remove
25
26 rm /usr/local/bin/breezed
27 rm /etc/init.d/breezed.sh
28 rm /usr/lib/pm-utils/sleep.d/50breezed
29 rm /usr/share/man/man1/breezed.1
30
31 # rm /etc/acpi/resume.d/99-breezed.sh
32 # rm /etc/acpi/suspend.d/01-breezed.sh