Home | History | Annotate | Line # | Download | only in rc.d
ldconfig revision 1.4
      1 #!/bin/sh
      2 #
      3 # $NetBSD: ldconfig,v 1.4 2001/04/25 13:00:17 lukem Exp $
      4 #
      5 
      6 # PROVIDE: ldconfig
      7 # REQUIRE: mountall
      8 
      9 . /etc/rc.subr
     10 
     11 name="ldconfig"
     12 ldconfig_command="/sbin/ldconfig"
     13 start_cmd="ldconfig_start"
     14 stop_cmd=":"
     15 
     16 ldconfig_start()
     17 {
     18 	if [ -f ${ldconfig_command} ]; then
     19 		echo "Creating a.out runtime link editor directory cache."
     20 		${ldconfig_command}
     21 	fi
     22 }
     23 
     24 load_rc_config $name
     25 run_rc_command "$1"
     26