Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 189868 Details for
Bug 267890
New ebuild avantafax
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
reconfig.sh
reconfig.sh (text/plain), 1.41 KB, created by
INODE64 Sistemas
on 2009-04-29 15:29:44 UTC
(
hide
)
Description:
reconfig.sh
Filename:
MIME Type:
Creator:
INODE64 Sistemas
Created:
2009-04-29 15:29:44 UTC
Size:
1.41 KB
patch
obsolete
>#!/bin/sh > >source /sbin/functions.sh > >export SANDBOX_ON=0 > >if [ "$1" == "install" ]; then > chown apache:apache -R "${MY_INSTALLDIR}" > chmod 0777 -R "${MY_INSTALLDIR}/faxes" > chmod 0777 -R "${MY_INSTALLDIR}/tmp" > > einfo "Backup /usr/bin/faxcover , /var/spool/fax/bin/faxrcvd.php , /var/spool/fax/bin/notify.php" > mv /var/spool/fax/bin/faxrcvd.php /var/spool/fax/bin/faxrcvd.php.old`date +%F` &>/dev/null > mv /var/spool/fax/bin/notify.php /var/spool/fax/bin/notify.php.old`date +%F` &>/dev/null > mv /usr/bin/faxcover /usr/bin/faxcover.old`date +%F` &>/dev/null > > ln -s -f "${MY_INSTALLDIR}/includes/faxrcvd.php" /var/spool/fax/bin/faxrcvd.php > ln -s -f "${MY_INSTALLDIR}/includes/notify.php" /var/spool/fax/bin/notify.php > ln -s -f "${MY_INSTALLDIR}/includes/faxcover.php" /usr/bin/faxcover > > if [ ! "`grep AvantFAX /var/spool/fax/etc/config`" ] > then > echo "NotifyCmd: bin/notify.php ## AvantFAX configuration" >> /var/spool/fax/etc/config > fi > > for modem in `ls /var/spool/fax/etc/config.*|grep -v config$` > do > if [ ! "`grep AvantFAX $modem`" ] > then > echo "FaxrcvdCmd: bin/faxrcvd.php ## AvantFAX configuration" >> $modem > fi > done > > einfo "Insert in crontab this lines" > einfo > einfo "# runs once an hour to update the phone book" > einfo "0 * * * * ${MY_INSTALLDIR}/includes/phb.php" > einfo "# runs once a day to remove old files" > einfo "0 0 * * * ${MY_INSTALLDIR}/includes/avantfaxcron.php -t 2" >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 267890
:
189864
|
189866
| 189868