ldconfig revision 78345
1#!/bin/sh 2# 3# $NetBSD: ldconfig,v 1.2 2000/05/13 08:45:07 lukem Exp $ 4# 5 6# PROVIDE: ldconfig 7# REQUIRE: mountall 8 9. /etc/rc.subr 10 11name="ldconfig" 12start_cmd="ldconfig_start" 13stop_cmd=":" 14 15ldconfig_start() 16{ 17 if [ -f /sbin/ldconfig ]; then 18 echo "Creating a.out runtime link editor directory cache." 19 ldconfig 20 fi 21} 22 23load_rc_config $name 24run_rc_command "$1" 25