]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/paks/mpfire/uninstall.sh
Made the install/update/uninstall scripts looking equal.
[ipfire-2.x.git] / src / paks / mpfire / uninstall.sh
index e355241dee9b13b60be9689d994b14b4c1fd56f5..80410ff7c63de75a30c78b9b3b4ea1683ba83413 100644 (file)
@@ -1,14 +1,31 @@
 #!/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
 
 stop_service ${NAME}
 make_backup ${NAME}
-rm /etc/rc.d/rc3.d/S65mpd
-rm /etc/rc.d/rc0.d/K35mpd
-rm /etc/rc.d/rc6.d/K35mpd
-rm /etc/init.d/mpd
-rm /var/ipfire/mpfire/mpd.conf
-rm /etc/mpd.conf
-rm /var/log/mpd.error.log
-rm /var/log/mpd.log
 
+remove_files
+
+rm -f /etc/rc.d/rc*.d/*mpd /var/log/mpd.error.log /var/log/mpd.log /etc/mpd.conf