]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/paks/mpfire/uninstall.sh
Forgotten half of the files :D
[people/pmueller/ipfire-2.x.git] / src / paks / mpfire / uninstall.sh
index 28dcea518b3755cf145973021d2d9ba11a7d919f..e729cb1ff24a0a7891c9f7d8fd02278f6e035ee8 100644 (file)
@@ -1,4 +1,28 @@
 #!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire is free software; you can redistribute it and/or modify           #
+# it under the terms of the GNU General Public License as published by     #
+# the Free Software Foundation; either version 2 of the License, or        #
+# (at your option) any later version.                                      #
+#                                                                          #
+# IPFire 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 IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
 . /opt/pakfire/lib/functions.sh
-
-make_backup mpfire
+/etc/init.d/mpd stop
+make_backup ${NAME}
+remove_files
+rm -f /etc/rc.d/rc*.d/*mpd /var/log/mpd.error.log /var/log/mpd.log /etc/mpd.conf