aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-25 20:01:54 +0200
committerDee'Kej <deekej@linuxmail.org>2018-05-30 12:32:22 +0200
commita145ddda284570e57413e37f025c3657205e17d8 (patch)
treea371338da02e38d8745964f75239c8ee62cc459b /src
parentdb1ca2fadd20d0a4fb5a0fe18adcd8c960db9cf3 (diff)
downloadinitscripts-a145ddda284570e57413e37f025c3657205e17d8.tar
initscripts-a145ddda284570e57413e37f025c3657205e17d8.tar.gz
initscripts-a145ddda284570e57413e37f025c3657205e17d8.tar.bz2
initscripts-a145ddda284570e57413e37f025c3657205e17d8.tar.xz
initscripts-a145ddda284570e57413e37f025c3657205e17d8.zip
Repository scheme updated to new layout
NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.
Diffstat (limited to 'src')
-rw-r--r--src/consoletype.144
-rw-r--r--src/genhostid.112
-rw-r--r--src/ifup.836
-rw-r--r--src/netreport.122
-rwxr-xr-xsrc/sushell5
-rw-r--r--src/sushell.816
-rw-r--r--src/usernetctl.839
-rw-r--r--src/usleep.130
8 files changed, 0 insertions, 204 deletions
diff --git a/src/consoletype.1 b/src/consoletype.1
deleted file mode 100644
index ebd1d88c..00000000
--- a/src/consoletype.1
+++ /dev/null
@@ -1,44 +0,0 @@
-.TH CONSOLETYPE 1 "Red Hat, Inc" "RH" \" -*- nroff -*-
-.SH NAME
-\fBconsoletype
-\- print type of the console connected to standard input
-.SH SYNOPSIS
-\fBconsoletype [\fIstdout\fR] [\fIfg\fR]
-.SH DESCRIPTION
-\fBconsoletype
-prints the type of console connected to standard input, and checks
-whether the console connected to standard input is the current
-foreground virtual console. With no arguments, it prints
-\fIvt\fR
-if console is a virtual terminal (/dev/tty* or /dev/console device if not on
-a serial console),
-\fIserial\fR
-if standard input is a serial console (/dev/console or /dev/ttyS*) and
-\fIpty\fR
-if standard input is a pseudo terminal.
-.SH RETURN VALUE
-\fBconsoletype
-when passed no arguments returns
-.TP
-\fI0
-if on virtual terminal
-.TP
-\fI1
-if on serial console
-.TP
-\fI2
-if on a pseudo terminal.
-.TP
-When passed the \fIstdout\fR argument, \fBconsoletype\fR returns
-.TP
-\fI0
-in all cases, and prints the console type to stdout.
-.TP
-When passed the \fIfg\fR argument, \fBconsoletype\fR returns
-.TP
-\fI0
-if the console connected to standard input is the current virtual
-terminal
-.TP
-\fI1
-otherwise.
diff --git a/src/genhostid.1 b/src/genhostid.1
deleted file mode 100644
index 436d9537..00000000
--- a/src/genhostid.1
+++ /dev/null
@@ -1,12 +0,0 @@
-.TH GENHOSTID 1
-.SH NAME
-genhostid \- generate and set a hostid for the current host
-.SH SYNOPSIS
-.B genhostid
-
-.SH DESCRIPTION
-\fBgenhostid\fR generates a random hostid and stores it in /etc/hostid,
-if /etc/hostid does not already exist.
-
-.SH "SEE ALSO"
-hostid(1), gethostid(2), sethostid(2)
diff --git a/src/ifup.8 b/src/ifup.8
deleted file mode 100644
index 1cf1fcd8..00000000
--- a/src/ifup.8
+++ /dev/null
@@ -1,36 +0,0 @@
-.\" Copyright 2009 Petr Lautrbach (plautrba@redhat.com)
-.TH ifup 8 2009-10-27 "" "System Administration tools and Daemons"
-.SH NAME
-ifup - bring a network interface up
-
-ifdown - take a network interface down
-.SH SYNOPSIS
-.B ifup CONFIG [boot]
-
-.B ifdown CONFIG
-
-.SH DESCRIPTION
-The
-.B ifup
-and
-.B ifdown
-commands may be used to configure (or, respec-
-tively, deconfigure) network interfaces based on interface definitions
-in the files /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-<configuration>
-
-These scripts take one argument normally: the name of the configuration
-(e.g. eth0). They are called with a second argument of "boot"
-during the boot sequence so that devices that are not meant to
-be brought up on boot (ONBOOT=no, see below) can be ignored at
-that time.
-
-.SH FILES
-.TP
-\fB/etc/sysconfig/network\fR
-
-.TP
-\fB/etc/sysconfig/network-scripts/ifcfg-<configuration>\fR
-The file defining an interface.
-
-.SH "SEE ALSO"
-/usr/share/doc/initscripts-*/sysconfig.txt
diff --git a/src/netreport.1 b/src/netreport.1
deleted file mode 100644
index 75ed0747..00000000
--- a/src/netreport.1
+++ /dev/null
@@ -1,22 +0,0 @@
-.TH NETREPORT 1 "Red Hat, Inc." "RH" \" -*- nroff -*-
-.SH NAME
-netreport \- request notification of network interface changes
-.SH SYNOPSIS
-.B netreport
-\fI[\fP-r\fI]\fP
-.SH DESCRIPTION
-.B netreport
-tells the network management scripts to send a SIGIO signal
-to the process which called netreport when any network interface
-status changes occur.
-.SH OPTIONS
-.TP
-.B -r
-Remove the current request (if any) for the calling process.
-.PP
-.SH NOTES
-If a program does not call netreport with the
-.B -r
-option before it exits, and another process is created with the
-same PID before any changes take place in interface status, it
-is possible that the new process will receive a spurious SIGIO.
diff --git a/src/sushell b/src/sushell
deleted file mode 100755
index 7d969416..00000000
--- a/src/sushell
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-[ -z "$SUSHELL" ] && SUSHELL=/bin/bash
-
-exec $SUSHELL
diff --git a/src/sushell.8 b/src/sushell.8
deleted file mode 100644
index 9832a732..00000000
--- a/src/sushell.8
+++ /dev/null
@@ -1,16 +0,0 @@
-.TH SUSHELL 8 "Red Hat, Inc" \" -*- nroff -*-
-.SH NAME
-sushell \- execute the single-user shell
-.SH SYNOPSIS
-.B sushell
-.SH DESCRIPTION
-.B sushell
-executes the single-user shell. By default, this is
-\fI/bin/bash\fP
-This can be configured via the
-.B SUSHELL
-environment variable.
-.SH NOTES
-.B sushell
-is an implementation detail, required for proper SELinux
-usage. It is not intended to be run regularly.
diff --git a/src/usernetctl.8 b/src/usernetctl.8
deleted file mode 100644
index 2fb84da1..00000000
--- a/src/usernetctl.8
+++ /dev/null
@@ -1,39 +0,0 @@
-.TH USERNETCTL 8 "Red Hat, Inc." "RHS" \" -*- nroff -*-
-.SH NAME
-usernetctl \- allow a user to manipulate a network interface if permitted
-.SH SYNOPSIS
-.B usernetctl
-\fIinterface-name\fP up\fI|\fPdown\fI|\fPreport
-.SH DESCRIPTION
-.B usernetctl
-checks to see if users are allowed to manipulate the network interface
-specified by \fIinterface-name\fP, and then tries to bring the network
-interface up or down, if up or down was specified on the command line,
-or returns true or false status (respectively) if the report option was
-specified.
-
-.B usernetctl
-is not really meant to be called directly by users, though it currently
-works fine that way. It is used as a wrapper by the ifup and ifdown
-scripts, so that users can do exactly the same thing as root:
-.nf
-ifup \fIinterface-name\fP
-ifdown \fIinterface-name\fP
-.fi
-and \fBifup\fP and \fBifdown\fP will call usernetctl automatically to
-allow the interface status change.
-.SH OPTIONS
-.TP
-.I "\fIinterface-name"
-The name of the network interface to check; for example, "ppp0". For
-backwards compatibility, "ifcfg-ppp0" and
-"/etc/sysconfig/network-scripts/ifcfg-ppp0" are also supported.
-.TP
-up\fI|\fPdown
-Attempt to bring the interface up or down.
-.TP
-report
-Report on whether users can bring the interface up or down.
-.SH NOTES
-Alternate device configurations may inherit the default configuration's
-permissions.
diff --git a/src/usleep.1 b/src/usleep.1
deleted file mode 100644
index 30db2bad..00000000
--- a/src/usleep.1
+++ /dev/null
@@ -1,30 +0,0 @@
-.TH USLEEP 1 "Red Hat, Inc" \" -*- nroff -*-
-.SH NAME
-usleep \- sleep some number of microseconds
-.SH SYNOPSIS
-.B usleep
-[\fInumber\fP]
-.SH DESCRIPTION
-.B usleep
-sleeps some number of microseconds. The default is 1.
-.SH WARNING
-.B usleep
-has been deprecated, and will be removed in near future. Use sleep(1) instead.
-.SH OPTIONS
-\fI--usage\fP
-Show short usage message.
-.TP
-\fI--help, -?\fP
-Print help information.
-.TP
-\fI-v, --version\fP
-Print version information.
-.SH BUGS
-Probably not accurate on many machines down to the microsecond. Count
-on precision only to -4 or maybe -5.
-.SH AUTHOR
-Donald Barnes <djb@redhat.com>
-.br
-Erik Troan <ewt@redhat.com>
-.SH SEE ALSO
-sleep(1)