~ubuntu-branches/debian/jessie/ppp/jessie

« back to all changes in this revision

Viewing changes to debian/patches/012_secure-card.diff

  • Committer: Bazaar Package Importer
  • Author(s): Michael Beattie
  • Date: 2001-12-11 00:24:05 UTC
  • Revision ID: james.westby@ubuntu.com-20011211002405-gcsjlgalwyjf99m2
Tags: 2.4.1.uus-4
Use MAKEDEV in postinst, not mknod. (Closes: #122574)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- ppp-2.4.0b4.orig/scripts/secure-card
 
2
+++ ppp-2.4.0b4/scripts/secure-card
 
3
@@ -1,4 +1,4 @@
 
4
-#!/usr/local/bin/expect -f
 
5
+#!/usr/bin/expect -f
 
6
 #
 
7
 # This  script was  written  by  Jim Isaacson  <jcisaac@crl.com>.  It is
 
8
 # designed to work  as a script to use the  SecureCARD(tm) device.  This
 
9
@@ -17,14 +17,14 @@
 
10
 
 
11
 send_user "hello, starting ppp\n"
 
12
 
 
13
-system "stty 19200 -echoe -echo raw < /dev/cua3 > /dev/cua3"
 
14
+system "stty 19200 -echoe -echo raw < /dev/ttyS3 > /dev/ttyS3"
 
15
 
 
16
 #
 
17
 # These are the parameters for the program.
 
18
 #
 
19
 set user      Pxxxxxx
 
20
 set password  xxxxxxx 
 
21
-set modem     /dev/cua3
 
22
+set modem     /dev/ttyS3
 
23
 set dialup    <put phone number here>
 
24
 set timeout   60
 
25
 
 
26
@@ -107,5 +107,5 @@
 
27
        }
 
28
 }
 
29
 
 
30
-overlay -0 $spawn_id -1 $spawn_id pppd /dev/cua3 19200 192.111.187.215: \
 
31
+overlay -0 $spawn_id -1 $spawn_id pppd /dev/ttyS3 19200 192.111.187.215: \
 
32
        crtscts modem defaultroute debug