NetBSD/etc/rc.d/veriexec

25 lines
391 B
Plaintext
Raw Normal View History

2004-01-14 09:53:50 +03:00
#!/bin/sh
#
# $NetBSD: veriexec,v 1.7 2005/10/11 21:36:11 elad Exp $
2004-01-14 09:53:50 +03:00
#
# PROVIDE: veriexec
# REQUIRE: mountcritlocal
# BEFORE: securelevel sysctl
2004-01-14 09:53:50 +03:00
$_rc_subr_loaded . /etc/rc.subr
2004-01-14 09:53:50 +03:00
name="veriexec"
rcvar=$name
2004-01-14 09:53:50 +03:00
start_cmd="veriexec_start"
veriexec_start()
{
echo -n "Loading fingerprints..."
/sbin/veriexecctl load /etc/signatures
2004-01-14 09:53:50 +03:00
echo " done."
}
load_rc_config $name
run_rc_command "$1"