1 |
brianr |
1.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 |