summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Support all the tcpflag options in firewall.ugen1995-10-231-33/+215
| | | | | | Add reading options from file, now ipfw <filename> will read commands string after string from file , form of strings same as command line interface.
* Totally revamp the man page, update to the state of affairs.joerg1995-10-072-61/+111
| | | | | | | Make a link from boot_${ARCH}.8 to boot.8, so people will get what they expect when asking "man boot". I think David will lynch me when i'm requesting this to go into 2.1... :-)
* This upgrades the driver for Cronyx-Sigma multiplexor boardsjkh1995-10-042-6/+130
| | | | | from version 1.2 to version 1.9. Submitted by: Serge Vakulenko, <vak@cronyx.ru>
* Fix $Id$.bde1995-10-031-1/+1
|
* remove the calls to DIOCWLABEL, as it isn't supported any morejulian1995-10-032-0/+8
| | | | | and the error message confuses the user. (just commented out foe now)
* Support IP Option smatching in grammar and listing.ugen1995-10-011-30/+130
| | | | | TcpSyn option removed and will be shortly repoaced by support of all TCP Flags including syn and ack...
* As init/Makefile now 'knows' how to build secure code if necessary, cleanmarkm1995-10-011-7/+1
| | | | out the .if (<building secure>) / .endif
* Make this make work the same way as passwd and xntpd. Here it will allowmarkm1995-10-011-0/+7
| | | | secure/sbin/init to be cleaned out, and sbin/Makefile to be tidied up.
* Define CRYPTOBJDIR if secure is being builtmarkm1995-10-011-0/+10
|
* Catch the case where the children can die too soon causing wait3()peter1995-10-011-1/+3
| | | | | | | to return ECHILD, which causes the while loop to run forever. (eg: when accidently running nfsiod on a slow system with a kernel without NFS support...) Obtained from: NetBSD; Frank van den Linden <frank@struis.fwi.uva.nl>
* Call the -u UCMD command on exit. The command is called with thejoerg1995-09-291-0/+9
| | | | | | | | current unit number, and the "new" unit number of -1. This allows the script to actually deconfigure the SLIP interface (e.g. by running "ifconfig delete") which has been impossible previously. This is most likely a candidate for 2.1, too.
* Build secure init if available and allowedache1995-09-291-1/+7
|
* 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
|
* From Bruce:ache1995-09-202-4/+26
| | | | | | | | | | | | | | | | | | | slattach always exited early because fd is not open in acquire_line(). Other (trivial) changes that I've been neglecting for some time: - Turn off O_NONBLOCK so that `chat' doesn't need to worry about it (`chat' actually does worry about it). - Really set speeds POSIXly :-). cfsetspeed() isn't POSIX. - Fix spelling error in comment. - Gripe about bad programming of doing everything from signal handlers. slattach should be written to do everything from the sigsuspend() loop, but I don't want to do it :-). From me: Use .PATH to find uucplock.c Submitted by: bde
* Make uucp-lock optional: -L optionache1995-09-202-18/+31
|
* Make uucp-locking optional: -L optionache1995-09-202-53/+105
|
* Unlock device for redial_cmd, then lock againache1995-09-191-0/+8
|
* Fix uucp lockingache1995-09-192-38/+29
| | | | | Remove unnecesary TIOCSETD Move SLIO* before startup script call
* Implement uucp-lockingache1995-09-193-10/+172
| | | | Cleanup debug/syslog code
* Change new -U option to -S to go the same way as startslip.ache1995-09-182-7/+7
|
* New option: -S #: set SLIP unit numberache1995-09-182-5/+18
|
* New options:ache1995-09-182-30/+113
| | | | | | | | | -K #: set SLIP keepalive timeout -O #: set SLIP outfil timeout -U #: set SLIP unit number sighup handler now sets tty disc for non-redial case too. Implement SIGURG handling (from keepalive). POSIXing speed settings.
* 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.
* Turn on scsiformat.joerg1995-09-171-7/+8
| | | | reformat.
* Finally replace the defunct 4.4BSD scsiformat.c by Peter's wrapperjoerg1995-09-173-9/+172
| | | | | | | around scsi(8). I've done extensive testing of it with a spare disk in the past, and it's ready for prime-time now. Submitted by: dufault
* Shorten a variable name.dg1995-09-171-4/+4
|
* Use default COPTS.dg1995-09-171-2/+1
|
* 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.
* Avoid the "calculated sectors per cylinder disagrees with disklabel"joerg1995-09-091-1/+9
| | | | | warning for the default case where the user hasn't specified either -t or -u on the command line. It's been confusing our users.
* Fixed error in maxcontig calculation that caused it to default to "1".dg1995-09-081-1/+1
|
* Check a pointer in skipdirs() before dereferencing it. I don't fullyjoerg1995-09-011-1/+1
| | | | | | | | | | understand why it can become a null pointer under some circumstances, but i've got a pile of tapes where this happens, and running it thru a debugger proved that simply ending the loop in this case did the right thing. Anyway, it cannot make it worse than now, where restore kills itself with "Memory fault".
* Update to the slices era. Make /dev/rfoo0 the defaults, notjoerg1995-09-014-30/+162
| | | | | | | | | | | | /dev/rfoo0d. Scan a list of devices instead of insisting on all the world being wd0. Allow for disk names to be specified (e.g. `sd0') instead of full path names only. Sync the man page with the reality.
* Correct minor nit - to filter out SYN packets, the keyword isgpalmer1995-08-311-1/+1
| | | | | `syn' not `tcpsyn' (which matches `tcp' which blocks all tcp packets)
* Remove -O2 from COPTS, known rogueache1995-08-291-2/+2
|
* Document the -a option, and mention ``noauto''.dg1995-08-262-0/+10
|
* The changes for adding the "noauto" option were mostly wrong. MNT_NOAUTOdg1995-08-266-22/+10
| | | | | is a kernel flag, and the kernel definately doesn't need to know about it.
* Sigh. This isn't my night. I forgot the manpage updates too!jkh1995-08-232-0/+10
| | | | Thanks, Andrey.
* Add a "noauto" flag so that you can do things like prevent your systemjkh1995-08-234-6/+16
| | | | | | from not coming up multiuser just because you have a CD mount in fstab but no CD in the drive. Submitted by: "Full Name Not Supplied" <simon@masi.ibp.fr>
OpenPOWER on IntegriCloud