Added start links to some packages.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1010 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-10-27 14:52:28 +00:00
parent e245b293f5
commit 6bae6bd14d
5 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
. /opt/pakfire/lib/functions.sh
extract_files
restore_backup ${NAME}
start_service --background ${NAME}
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc0.d/K23cyrus-imapd
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc3.d/S37cyrus-imapd
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc6.d/K23cyrus-imapd

View File

@@ -0,0 +1,7 @@
#!/bin/bash
. /opt/pakfire/lib/functions.sh
stop_service ${NAME}
make_backup ${NAME}
rm -rfv /etc/rc.d/rc*.d/*cyrus-imapd

View File

@@ -0,0 +1,8 @@
#!/bin/bash
. /opt/pakfire/lib/functions.sh
stop_service ${NAME}
make_backup ${NAME}
extract_files
restore_backup ${NAME}
start_service --delay 60 --background ${NAME}

View File

@@ -9,3 +9,7 @@ postalias /etc/aliases
postconf -e "myhostname=$(hostname -f)"
/etc/init.d/postfix start
ln -sf ../init.d/postfix /etc/rc.d/rc0.d/K25postfix
ln -sf ../init.d/postfix /etc/rc.d/rc3.d/S35postfix
ln -sf ../init.d/postfix /etc/rc.d/rc6.d/K25postfix

View File

@@ -0,0 +1,3 @@
#!/bin/bash
rm -rfv /etc/rc.d/rc*.d/*postfix