- (dtucker) [configure.ac opensshd.init.in] Bug #1144: Use /bin/sh for the

opensshd.init script interpretter if /sbin/sh does not exist.  ok tim@
This commit is contained in:
Darren Tucker 2006-01-30 00:22:39 +11:00
Родитель 1d4ebbf143
Коммит fbea76400f
3 изменённых файлов: 12 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,7 @@
20060129
- (dtucker) [configure.ac opensshd.init.in] Bug #1144: Use /bin/sh for the
opensshd.init script interpretter if /sbin/sh does not exist. ok tim@
20060120
- (dtucker) OpenBSD CVS Sync
- jmc@cvs.openbsd.org 2006/01/15 17:37:05
@ -3718,4 +3722,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4093 2006/01/20 00:31:47 dtucker Exp $
$Id: ChangeLog,v 1.4094 2006/01/29 13:22:39 dtucker Exp $

Просмотреть файл

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.321 2006/01/01 10:03:30 djm Exp $
# $Id: configure.ac,v 1.322 2006/01/29 13:22:39 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -47,6 +47,11 @@ AC_PATH_PROG(PATH_GROUPADD_PROG, groupadd, groupadd,
AC_PATH_PROG(PATH_USERADD_PROG, useradd, useradd,
[/usr/sbin${PATH_SEPARATOR}/etc])
AC_CHECK_PROG(MAKE_PACKAGE_SUPPORTED, pkgmk, yes, no)
if test -x /sbin/sh; then
AC_SUBST(STARTUP_SCRIPT_SHELL,/sbin/sh)
else
AC_SUBST(STARTUP_SCRIPT_SHELL,/bin/sh)
fi
# System features
AC_SYS_LARGEFILE

Просмотреть файл

@ -1,4 +1,4 @@
#!/sbin/sh
#!@STARTUP_SCRIPT_SHELL@
# Donated code that was put under PD license.
#
# Stripped PRNGd out of it for the time being.