summaryrefslogtreecommitdiffstats
path: root/sbin/startslip
Commit message (Collapse)AuthorAgeFilesLines
* Fixes a potential buffer overflow with the pid filename.joe2000-04-301-1/+3
| | | | | Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-5/+10
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Correct use of .Nm and .Ev.charnier1998-08-032-31/+34
| | | | Add rcsid, rmove unused #include. Spelling.
* Fixed printf format errors.bde1998-08-021-2/+3
|
* Fixed printf format errors, scanf format errors and scanf error handling.bde1998-06-281-7/+9
|
* Remove unused include fileseivind1997-12-221-9/+3
| | | | Submitted by: bde
* Remove unused private header.eivind1997-12-211-2/+1
| | | | Submitted by: max
* Use err(3). Add missing prototypes. Cosmetic in usage string.charnier1997-06-191-11/+20
|
* Fixed missing DPADD. Removed now-redundant SRCS.bde1997-04-011-1/+1
|
* Remove the syslog stuff, and allow various return valuesbrian1997-03-311-2/+6
| | | | | | | | | in uu_lock(). Add uu_lockerr() for turning the results of uu_lock into something printable. Remove bogus section in man page about race conditions allowing both processes to get the lock. Include libutil.h and use uu_lock() correctly where it should. Suggested by: ache@freebsd.org
* Move uucplock into libutil and create a manual page.brian1997-03-302-162/+2
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-2/+3
|
* Update to match changes in <net/if.h>.wollman1997-01-031-1/+2
|
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-101-12/+15
| | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
* Eliminated includes of the "temporary" backwards compatibility headerbde1996-09-241-1/+1
| | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones.
* 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