diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-05-18 00:44:28 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-05-18 00:44:28 +0000 |
commit | 4ee02f4bb84382ffd9291e09015fc8805a353e59 (patch) | |
tree | 744dc1fab2ee0794adec09e19ce81c9d3cf2f0c5 /usr.sbin/sade/config.c | |
parent | 804540113fe7cc078437b8ec2621d99ca2f7d0b9 (diff) | |
download | src-4ee02f4bb84382ffd9291e09015fc8805a353e59.tar.gz src-4ee02f4bb84382ffd9291e09015fc8805a353e59.zip |
deal with a.out ldconfig paths also.
Notes
Notes:
svn path=/head/; revision=47284
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r-- | usr.sbin/sade/config.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index ca963716fd45..6a23e4d73b2c 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.134 1999/05/15 14:34:20 jkh Exp $ + * $Id: config.c,v 1.135 1999/05/15 15:05:08 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -552,9 +552,11 @@ tryagain: } if (file_readable("/var/run/ld.so.hints")) - systemExecute("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); + vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); else - systemExecute("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); + vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); + vsystem("/sbin/ldconfig -aout /usr/lib/compat/aout /usr/lib/aout /usr/X11R6/lib/aout /usr/local/lib/aout"); + vsystem("/sbin/ifconfig lo0 127.0.0.1"); execfile = string_concat("/usr/X11R6/bin/", config); if (file_executable(execfile)) { dialog_clear_norefresh(); |