mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
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:
11
src/paks/cyrus-imapd/install.sh
Normal file
11
src/paks/cyrus-imapd/install.sh
Normal 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
|
||||
7
src/paks/cyrus-imapd/uninstall.sh
Normal file
7
src/paks/cyrus-imapd/uninstall.sh
Normal 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
|
||||
8
src/paks/cyrus-imapd/update.sh
Normal file
8
src/paks/cyrus-imapd/update.sh
Normal 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}
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -rfv /etc/rc.d/rc*.d/*postfix
|
||||
|
||||
Reference in New Issue
Block a user