Sync usage with man page.
[netbsd-mini2440.git] / etc / rc.d / ldconfig
blobeeb155828da65646a25a963119fa25605602552d
1 #!/bin/sh
3 # $NetBSD: ldconfig,v 1.7 2004/06/03 16:29:15 abs Exp $
6 # PROVIDE: ldconfig
7 # REQUIRE: mountall
8 # BEFORE: DAEMON
10 $_rc_subr_loaded . /etc/rc.subr
12 name="ldconfig"
13 rcvar="ldconfig"
14 ldconfig_command="/sbin/ldconfig"
15 start_cmd="ldconfig_start"
16 stop_cmd=":"
18 ldconfig_start()
20 if [ -f ${ldconfig_command} ]; then
21 echo "Creating a.out runtime link editor directory cache."
22 ${ldconfig_command} ${rc_flags}
26 load_rc_config $name
27 run_rc_command "$1"