Current Path : /usr/src/etc/rc.d/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/etc/rc.d/securelevel |
#!/bin/sh # # $FreeBSD: release/9.1.0/etc/rc.d/securelevel 220153 2011-03-30 01:19:00Z emaste $ # # PROVIDE: securelevel . /etc/rc.subr name="securelevel" rcvar='kern_securelevel_enable' start_cmd="securelevel_start" stop_cmd=":" # Last chance to set sysctl variables that failed the first time. # /etc/rc.d/sysctl lastload securelevel_start() { if [ ${kern_securelevel} -ge 0 ]; then echo 'Raising kernel security level: ' ${SYSCTL} kern.securelevel=${kern_securelevel} fi } load_rc_config $name run_rc_command "$1"