summaryrefslogtreecommitdiffstats
path: root/sbin/startslip
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a couple of format strings to match the change of pid_t from longbde1996-04-131-1/+1
| | | | | | to int32_t. I only fixed the ones that I noticed the warnings for. Perhaps most of the format strings are correct now because they were wrong before. Except of course if int32_t isn't compatible with `int'.
* Prepare to eliminate multiply uucplock.c copiesache1996-03-041-16/+33
|
* Fix a bunch of spelling errors.mpp1996-01-291-4/+4
|
* recording cvs-1.6 file deathpeter1995-12-303-16/+0
|
* Log user name with each info and total connection time elapsedache1995-09-271-48/+55
| | | | | (for accounting purposes). Log few additional events like dialing number and connection established. Set speed POSIXly.
* Rename PATH_LOCK to PATH_UUCPLOCKache1995-09-231-2/+2
|
* Use new _PATH_LOCK for lock namesache1995-09-201-5/+6
|
* Make uucp-lock optional: -L optionache1995-09-202-18/+31
|
* Fix uucp lockingache1995-09-192-38/+29
| | | | | Remove unnecesary TIOCSETD Move SLIO* before startup script call
* New option: -S #: set SLIP unit numberache1995-09-182-5/+18
|
* Add new options:ache1995-09-172-12/+52
| | | | | | | -K: set keepalive SLIP timeout -O: set outfill SLIP timeout Handle SIGURG from keepalive like SIGHUP now, i.e. reconnect. Back out background scription change, cause some synchro problems.
* Use daemon() instead of fork/setsid/close.ache1995-09-161-26/+15
| | | | Rearrange things to do fork as later as possible.
* Oops. Fix my error with -W optionache1995-09-151-2/+2
|
* Close line before fork, or becomes close twice.ache1995-09-151-28/+26
| | | | Debug output cleanup.
* Tune it to REALLY sense carrier drop.ache1995-09-152-102/+117
| | | | | | | | | Now works with dialin devices too. Add new option in slattach style -l: dont use modem control. Add new option -W: specify max number of dial tries for one phone. Remove -p option, this ugly hack not needed. Fix script timeout expires. Some code cleanups.
* Restore TTYDISC on exit. Move setting of control terminalache1995-09-151-9/+14
| | | | after TTYDISC setting
* Wait until login completed before starting SLIP (5 secs)ache1995-09-151-0/+3
|
* Pass sequence number to called scripts via LINE env. variable.ache1995-09-152-3/+18
| | | | It allows specific per phone number tunings
* Add reference to /usr/share/examples/startslipache1995-09-141-1/+2
|
* Add example scriptsache1995-09-143-0/+16
|
* All changes still related to original version:ache1995-09-143-59/+195
| | | | | | | Don't close line twice. Change typo == to = in assignment. Don't restart, if ioctl fails. Implement uucp-style locking to help dialout pgms.
* Now understand "host!login:" style prompts additionly.ache1995-09-142-86/+167
| | | | | | | | | | | | | | | | | Add -t to specify login script timeout. Add -w to specify retry wait time. Describe -p option. Now understand several -s sections (for several host phone numbers). Remove -F sw (software flow control), it is impossible with slip. Change -F hw (hardware flow control) option to -h as in slattach, we don't need option with argument for only one case. Call downscript on SIGTERM. Improve debug diagnostic. Allow startslip work with several slip lines without killing each other. Unlink pid file on exit. Skip \r and \0 in login script parsing instead making them \n. Use absolute path to default script (/sbin/ifconfig). Call up/down script in background to prevent hang on them.
* Remove IMAXBEL clearing, our cfmakeraw() already fixed for itache1995-08-041-1/+0
| | | | | | Reviewed by: Submitted by: Obtained from:
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Joe Greco <jgreco@brasil.moneng.mei.com>'s enhancements to startslip.jkh1994-12-042-54/+121
| | | | Submitted by: jgreco
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+563
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud