Sync usage with man page.
[netbsd-mini2440.git] / etc / rc.d / veriexec
blob44c0a4bb6737c4270db8141a33cc2c9c6617d0bf
1 #!/bin/sh
3 # $NetBSD: veriexec,v 1.8 2005/10/15 23:26:30 elad Exp $
6 # PROVIDE: veriexec
7 # REQUIRE: mountall
8 # BEFORE: ldconfig
10 $_rc_subr_loaded . /etc/rc.subr
12 name="veriexec"
13 rcvar=$name
14 start_cmd="veriexec_start"
16 veriexec_start()
18 echo -n "Loading fingerprints..."
19 /sbin/veriexecctl ${veriexec_flags} load /etc/signatures
20 echo " done."
22 # We can't set these before loading the fingerprints, because
23 # raising the strict level can prevent us from doing the load.
24 /sbin/sysctl -w kern.veriexec.strict=$veriexec_strict
25 /sbin/sysctl -w kern.veriexec.verbose=$veriexec_verbose
28 load_rc_config $name
29 run_rc_command "$1"