aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec1
-rw-r--r--src/.gitignore1
-rw-r--r--src/Makefile4
-rw-r--r--src/doexec.112
-rw-r--r--src/doexec.c24
5 files changed, 1 insertions, 41 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 60fa8a95..478d8420 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -203,7 +203,6 @@ rm -rf $RPM_BUILD_ROOT
/etc/profile.d/*
/usr/sbin/sys-unconfig
/sbin/setsysfont
-/bin/doexec
/bin/ipcalc
/bin/usleep
%attr(4755,root,root) /usr/sbin/usernetctl
diff --git a/src/.gitignore b/src/.gitignore
index 0038fff6..01d63587 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -1,5 +1,4 @@
usernetctl
-doexec
netreport
testd
usleep
diff --git a/src/Makefile b/src/Makefile
index 29ea6d45..109e9d40 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
CFLAGS+=$(RPM_OPT_FLAGS) -Wall -D_GNU_SOURCE
-PROGS=usernetctl doexec netreport testd usleep ipcalc \
+PROGS=usernetctl netreport testd usleep ipcalc \
fstab-decode getkey ppp-watch consoletype genhostid rename_device \
console_init console_check securetty
PPPWATCH_OBJS=ppp-watch.o shvar.o
@@ -20,7 +20,6 @@ clean:
install:
mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)$(mandir)/man{1,8} $(ROOT)/etc $(ROOT)/lib/udev
- install -m 755 doexec $(ROOT)/bin/doexec
install -m 755 usleep $(ROOT)/bin/usleep
install -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
install -m 2755 netreport $(ROOT)/sbin/netreport
@@ -36,7 +35,6 @@ install:
install -m 755 console_check $(ROOT)/lib/udev/console_check
install -m 755 ccw_init $(ROOT)/lib/udev/ccw_init
install -m 644 genhostid.1 $(ROOT)$(mandir)/man1
- install -m 644 doexec.1 $(ROOT)$(mandir)/man1
install -m 644 getkey.1 $(ROOT)$(mandir)/man1
install -m 644 netreport.1 $(ROOT)$(mandir)/man1
install -m 644 usleep.1 $(ROOT)$(mandir)/man1
diff --git a/src/doexec.1 b/src/doexec.1
deleted file mode 100644
index 59b8b91e..00000000
--- a/src/doexec.1
+++ /dev/null
@@ -1,12 +0,0 @@
-.TH DOEXEC 1 "Red Hat Software" "RHS" \" -*- nroff -*-
-.SH NAME
-doexec \- run an executable with an arbitrary argv[0]
-.SH SYNOPSIS
-.B doexec
-\fI/path/to/executable\fP \fIargv[0]\fP [\fIargv[1-n]\fP]
-.SH DESCRIPTION
-.B doexec
-simply runs the executable with the argv list provided. It allows you
-to specify an argv[0] other than the name of the executable.
-.SH OPTIONS
-All options are passed in the argv list to the executable being run.
diff --git a/src/doexec.c b/src/doexec.c
deleted file mode 100644
index 3e8d9f4e..00000000
--- a/src/doexec.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 1997-1999 Red Hat, Inc. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- */
-
-#include <unistd.h>
-
-int main(int argc, char ** argv) {
- if (argc<2) return 1;
- execvp(argv[1], argv + 2);
- return 1;
-}