summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ldconfig
Commit message (Collapse)AuthorAgeFilesLines
* Simply things so that "#REQUIRE: FILESYSTEMS" means the fileobrien2012-09-111-1/+1
| | | | | | | | | | | systems are fully "ready to go". 'FILESYSTEMS' states: "This is a dummy dependency, for services which require file systems to be mounted before starting." However, we have 'var' which is was run after 'FILESYSTEMS' and can mount /var if it already isn't mounted. Furthermore, several scripts cannot use /var until 'cleanvar' has done its thing. Thus "FILESYSTEMS" hasn't really meant all critical file systems are fully usable.
* Don't require /usr/lib/aout to be on the system. Test for itsimp2011-01-061-2/+2
| | | | | | existance since we don't generally need it. MFC after: 1 week
* In regards to the "Starting foo:" type messages at boot time, create anddougb2009-10-101-4/+3
| | | | | | | | | | | | | | | | | | | | | | | employ a more generic solution, and use it in the individual rc.d scripts that also have an $rc_quiet test: 1. Add check_startmsgs() to rc.subr. 2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute variations of [ -z "$rc_quiet" ] with check_startmsgs 3. In savecore add a trailing '.' to the end of the message to make it more consistent with other scripts. 4. In newsyslog remove a : before the terminal '.' since we do not expect there to be anything printed out in between to make it more consistent. 5. In the following scripts change "quotes" to 'quotes' where no variables exist in the message: savecore pf newsyslog 6. In the following scripts substitute if/then/fi for the simpler (and more consistent) check_startmsgs &&: faith stf 7. In the following scripts separate the "Starting foo:" from the terminal '.' to make them more consistent: moused hostname pf 8. In nfsclient move the message to its own line to avoid a style bug 9. In pf rc_quiet does not apply to the _stop method, so remove the test there. 10. In motd add 'quotes' around the terminal '.' for consistency
* Move a lot of diagnostic output behind $rc_quiet in scripts thatmtm2008-06-231-3/+5
| | | | implement their own start command.
* Only pass paths to directories or config files that exist for ldconfig forjhb2007-12-131-2/+8
| | | | | | 32-bit binaries. MFC after: 3 days
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesdougb2007-12-081-1/+0
| | | | | with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
* Eliminate global symbols starting with an underscore from rc.dyar2006-12-301-1/+1
| | | | | | | | | scripts, except for mdconfig* and jail. Such symbols are reserved for the rc.subr internals. Most scripts can be fixed by just declaring _foo symbols as local: few scripts actually need them to be global. Discussed with: dougb in freebsd-rc
* Since INSTALLS_SHLIB has been superseded by USE_LDCONFIG in bsd.port.mk, Iflz2006-06-211-2/+10
| | | | | | | | | | | expect to see quite a few files appearing in libdata/ldconfig directories. This change avoids the screen to be filled with the names of those ldconfig files and replace them by the actual non-default directories they contain. Most of them will be ${PREFIX}/lib so, 'sort -u' will help reducing the output. Approved by: cperciva (implicit) MFC after: 1 week
* Add a mechanism to include files added by ports which containdougb2006-01-081-0/+17
| | | | | | | | | | | | the names of directories to include in the base ldconfig script. This will eliminate the need for each port to install its own boot script which does nothing but ldocnfig a given directory. This code was developed by flz (ports committer), discussed on freebsd-rc@, and modified slightly by me. Submitted by: flz Reviewed by: brooks
* Remove debugging that made it into the commit.obrien2005-01-161-2/+0
|
* "REQUIRE: cleanvar" for all RC's writing into /var/run.obrien2005-01-161-1/+3
|
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+0
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* Remove scripts we don't use from requirement lines. These weremtm2004-03-051-1/+1
| | | | hold-overs from the initial NetBSD import.
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-37/+25
| | | | | | | | | in keeping the scripts under rc.d in sync with us. So, remove NetBSD specific stuff (which made our scripts more complicated than necessary). The NetBSD ident string will be left intact, both for history and also incase we wish to pull in future versions.
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-1/+1
| | | | | | in keeping the scripts under rc.d in sync with us. So, begin removal of NetBSD specific stuff (which made our scripts more complicated than necessary), starting with the NetBSD KEYWORD.
* Prepend /lib to the search order for libraries.gordon2003-08-171-1/+1
|
* Properly use ld.so.conf and ld-elf.so.conf as discussed in the manual page.trhodes2003-06-301-4/+4
| | | | | | PR: 25527 Submitted by: Alexey Neyman <alex.neyman@auriga.ru> Reviewed by: jdp
* Apparently ldconfig(8) prefers the format as the first argumentmtm2003-05-181-3/+4
| | | | | | | | | with the rest of the options following it. This caused problems for people using ldconfig_insecure=yes because the '-i' switch was being positioned before the format argument. Approved by: markm/mentor (implicit), re/rwatson PR: 47430
* This script should require mountcritremote, since that is the lastmtm2003-04-301-1/+1
| | | | | | | | | script at which a filesystem will be mounted in FreeBSD. Without this the script was being inserted later in the boot than necessary. Approved by: markm (mentor) (implicit) Reviewed by: dougb Noticed by: Andrzej Toboƅa <san@wilk.2a.pl>
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-12/+8
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation ongordon2002-09-061-1/+1
| | | | OS-dependent case switches.
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-5/+49
| | | | | | | | while. This is only the script pieces, the glue for the build comes next. Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson
* Import the NetBSD 1.5 RC system.obrien2001-06-161-0/+24
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
OpenPOWER on IntegriCloud