summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorMilan Jurik <Milan.Jurik@Sun.COM>2010-01-11 18:41:08 +0000
committerMilan Jurik <Milan.Jurik@Sun.COM>2010-01-11 18:41:08 +0000
commit24c98657d4ef0b36daa9dcdccdadfcc658563541 (patch)
tree8ff097cd78591f2d79e7acf48888f16473926435 /usr/src
parentf1c454b4ca60de954c3f9b89aad635ec90c8fe2d (diff)
downloadillumos-gate-24c98657d4ef0b36daa9dcdccdadfcc658563541.tar.gz
6682632 anonymous ftp sendfile failure
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ftpconfig.sh24
1 files changed, 21 insertions, 3 deletions
diff --git a/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ftpconfig.sh b/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ftpconfig.sh
index 010030ca7b..60fd8b12f0 100644
--- a/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ftpconfig.sh
+++ b/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ftpconfig.sh
@@ -1,8 +1,26 @@
#!/usr/bin/ksh
#
-# ident "%Z%%M% %I% %E% SMI"
+# CDDL HEADER START
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
@@ -149,7 +167,7 @@ list_conv_cmds()
list_dyn_libs()
{
# Produce a list of the required dynamic libraries.
- for file in $* /usr/bin/ls `list_conv_cmds`
+ for file in $* /usr/sbin/in.ftpd /usr/bin/ls `list_conv_cmds`
do
ldd "$file" 2>/dev/null | cut -d'>' -f2
done | sort -u