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

« back to all changes in this revision

Viewing changes to scripts/secure-card

  • 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
 
#!/usr/local/bin/expect -f
 
1
#!/usr/bin/expect -f
2
2
#
3
3
# This  script was  written  by  Jim Isaacson  <jcisaac@crl.com>.  It is
4
4
# designed to work  as a script to use the  SecureCARD(tm) device.  This
17
17
 
18
18
send_user "hello, starting ppp\n"
19
19
 
20
 
system "stty 19200 -echoe -echo raw < /dev/cua3 > /dev/cua3"
 
20
system "stty 19200 -echoe -echo raw < /dev/ttyS3 > /dev/ttyS3"
21
21
 
22
22
#
23
23
# These are the parameters for the program.
24
24
#
25
25
set user      Pxxxxxx
26
26
set password  xxxxxxx 
27
 
set modem     /dev/cua3
 
27
set modem     /dev/ttyS3
28
28
set dialup    <put phone number here>
29
29
set timeout   60
30
30
 
107
107
        }
108
108
}
109
109
 
110
 
overlay -0 $spawn_id -1 $spawn_id pppd /dev/cua3 19200 192.111.187.215: \
 
110
overlay -0 $spawn_id -1 $spawn_id pppd /dev/ttyS3 19200 192.111.187.215: \
111
111
        crtscts modem defaultroute debug