tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Securelevel stuff



2009/12/29 Elad Efrat <elad%netbsd.org@localhost>:
> Hi,
> + Â Â Â osecurelevel=$(sysctl -n kern.securelevel 2>&-)
> + Â Â Â if [ $? != 0 ]; then
> + Â Â Â Â Â Â Â echo "Can't set securelevel. (Knob not present.)"
> + Â Â Â Â Â Â Â exit 1
> + Â Â Â fi

I would have a slight preference towards adjusting the script message,
but other than that have nothing (useful) to add :)

Maybe: "Unable to set securelevel. (Kernel option not present)"


Home | Main Index | Thread Index | Old Index