11.1Sblymn#!/bin/sh 21.1Sblymn# 31.9Selad# $NetBSD: veriexec,v 1.9 2007/05/15 19:47:48 elad Exp $ 41.1Sblymn# 51.1Sblymn 61.1Sblymn# PROVIDE: veriexec 71.8Selad# REQUIRE: mountall 81.8Selad# BEFORE: ldconfig 91.1Sblymn 101.3Smycroft$_rc_subr_loaded . /etc/rc.subr 111.1Sblymn 121.1Sblymnname="veriexec" 131.2Suebayasircvar=$name 141.1Sblymnstart_cmd="veriexec_start" 151.1Sblymn 161.1Sblymnveriexec_start() 171.1Sblymn{ 181.1Sblymn echo -n "Loading fingerprints..." 191.9Selad /sbin/veriexecctl ${veriexec_flags} load /etc/signatures 201.1Sblymn echo " done." 211.8Selad 221.8Selad # We can't set these before loading the fingerprints, because 231.8Selad # raising the strict level can prevent us from doing the load. 241.8Selad /sbin/sysctl -w kern.veriexec.strict=$veriexec_strict 251.8Selad /sbin/sysctl -w kern.veriexec.verbose=$veriexec_verbose 261.1Sblymn} 271.1Sblymn 281.1Sblymnload_rc_config $name 291.1Sblymnrun_rc_command "$1" 30