From d7a707a87fd4ea7514a7b27466797f00048496b6 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 8 Mar 2010 11:53:27 +0100 Subject: [PATCH] Fix cyrus-sasl autorun. --- config/rootfiles/common/initscripts | 3 +++ lfs/initscripts | 4 +++- src/paks/cyrus-sasl/install.sh | 29 ----------------------------- src/paks/cyrus-sasl/uninstall.sh | 27 --------------------------- src/paks/cyrus-sasl/update.sh | 26 -------------------------- 5 files changed, 6 insertions(+), 83 deletions(-) delete mode 100644 src/paks/cyrus-sasl/install.sh delete mode 100644 src/paks/cyrus-sasl/uninstall.sh delete mode 100644 src/paks/cyrus-sasl/update.sh diff --git a/config/rootfiles/common/initscripts b/config/rootfiles/common/initscripts index ae40f4a97a..c641821d3f 100644 --- a/config/rootfiles/common/initscripts +++ b/config/rootfiles/common/initscripts @@ -196,3 +196,6 @@ etc/rc.d/rc6.d/K85tmpfs #etc/rc.d/rc6.d/K01miau #etc/rc.d/init.d/netsnmpd #etc/rc.d/init.d/mdadm +etc/rc.d/rc0.d/K49cyrus-sasl +etc/rc.d/rc3.d/S24cyrus-sasl +etc/rc.d/rc6.d/K49cyrus-sasl diff --git a/lfs/initscripts b/lfs/initscripts index 9e9484b546..56c4222257 100644 --- a/lfs/initscripts +++ b/lfs/initscripts @@ -144,7 +144,9 @@ $(TARGET) : ln -sf ../init.d/motion /etc/rc.d/rc3.d/S99motion ln -sf ../init.d/motion /etc/rc.d/rc0.d/K01motion ln -sf ../init.d/motion /etc/rc.d/rc6.d/K01motion - + ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl + ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl + ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernfs ln -sf ../init.d/modules /etc/rc.d/rcsysinit.d/S05modules ln -sf ../init.d/udev /etc/rc.d/rcsysinit.d/S10udev diff --git a/src/paks/cyrus-sasl/install.sh b/src/paks/cyrus-sasl/install.sh deleted file mode 100644 index 7a0b71c0ef..0000000000 --- a/src/paks/cyrus-sasl/install.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/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 . # -# # -############################################################################ -# -. /opt/pakfire/lib/functions.sh -extract_files -ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl -ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl -ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl -start_service ${NAME} diff --git a/src/paks/cyrus-sasl/uninstall.sh b/src/paks/cyrus-sasl/uninstall.sh deleted file mode 100644 index b3b4d55daf..0000000000 --- a/src/paks/cyrus-sasl/uninstall.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/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 . # -# # -############################################################################ -# -. /opt/pakfire/lib/functions.sh -stop_service ${NAME} -remove_files -rm -rvf /etc/rc.d/rc*.d/*cyrus-sasl diff --git a/src/paks/cyrus-sasl/update.sh b/src/paks/cyrus-sasl/update.sh deleted file mode 100644 index 89c40d0d7c..0000000000 --- a/src/paks/cyrus-sasl/update.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/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 . # -# # -############################################################################ -# -. /opt/pakfire/lib/functions.sh -./uninstall.sh -./install.sh -- 2.39.2