/[smecontribs]/rpms/smeserver-hylafax/contribs9/smeserver-hylafax-0.9.sme9.patch
ViewVC logotype

Contents of /rpms/smeserver-hylafax/contribs9/smeserver-hylafax-0.9.sme9.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue May 3 05:29:10 2016 UTC (8 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-hylafax-0_9-7_el6_sme, smeserver-hylafax-0_9-9_el6_sme, smeserver-hylafax-0_9-8_el6_sme, HEAD
* Tue May 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.9-7.sme
- fix hylafax does not start on SME9 [SME: 9485]
- thank to bunkobugsy for reporting and providing the solution

1 diff -Nur smeserver-hylafax-0.9.old/root/etc/e-smith/templates/etc/init/ttyS0.conf/85hylafax smeserver-hylafax-0.9/root/etc/e-smith/templates/etc/init/ttyS0.conf/85hylafax
2 --- smeserver-hylafax-0.9.old/root/etc/e-smith/templates/etc/init/ttyS0.conf/85hylafax 1969-12-31 19:00:00.000000000 -0500
3 +++ smeserver-hylafax-0.9/root/etc/e-smith/templates/etc/init/ttyS0.conf/85hylafax 2016-05-03 01:23:48.317000000 -0400
4 @@ -0,0 +1,14 @@
5 +{
6 + my $status = $hylafax{status} || "enabled";
7 + my $port = $hylafax{port} || "ttyS0";
8 +
9 + if ($status eq 'enabled')
10 + {
11 + $OUT .= "start on runlevel [2345]\n";
12 + $OUT .= "stop on runlevel [S016]\n";
13 + $OUT .= " \n";
14 + $OUT .= "respawn\n";
15 + $OUT .= "instance /dev/$port\n";
16 + $OUT .= "exec /usr/sbin/faxgetty $port\n";
17 + }
18 +}
19 \ No newline at end of file
20 diff -Nur smeserver-hylafax-0.9.old/root/etc/e-smith/templates/etc/inittab/85hylafax smeserver-hylafax-0.9/root/etc/e-smith/templates/etc/inittab/85hylafax
21 --- smeserver-hylafax-0.9.old/root/etc/e-smith/templates/etc/inittab/85hylafax 2007-07-05 08:21:22.000000000 -0400
22 +++ smeserver-hylafax-0.9/root/etc/e-smith/templates/etc/inittab/85hylafax 1969-12-31 19:00:00.000000000 -0500
23 @@ -1,9 +0,0 @@
24 -{
25 - my $status = $hylafax{status} || "enabled";
26 - my $port = $hylafax{port} || "ttyS0";
27 -
28 - if ($status eq 'enabled')
29 - {
30 - $OUT .= "fax:23457:respawn:/usr/sbin/faxgetty $port\n";
31 - }
32 -}
33 \ No newline at end of file

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed