File: update-motd-cpu-checker

package info (click to toggle)
update-notifier 0.99.3debian8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,124 kB
  • ctags: 262
  • sloc: ansic: 2,489; sh: 1,212; python: 206; makefile: 66
file content (11 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e
#
# check if the BIOS settings need attention

CMD="/usr/bin/check-bios-nx"
if [ -x "$CMD" ] && ! "$CMD"; then
    echo ""
    echo "Your CPU appears to be lacking expected security protections."
    echo "Please check your BIOS settings, or for more information, run:"
    echo "  $CMD --verbose"
fi