~ubuntu-branches/ubuntu/lucid/update-notifier/lucid

« back to all changes in this revision

Viewing changes to debian/cpu-checker/update-motd-cpu-checker

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2010-03-10 23:03:25 UTC
  • Revision ID: james.westby@ubuntu.com-20100310230325-3q4dlyot3qfdjtri
Tags: 0.97
debian/control, data/update-motd-cpu-checker: move motd updater into
the data/ tree and add to build system now that check-bios-nx is part
of the external cpu-checker package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
#
3
 
# check if the BIOS settings need attention
4
 
 
5
 
CMD="/usr/lib/update-notifier/check-bios-nx"
6
 
if [ -x "$CMD" ] && ! "$CMD"; then
7
 
    echo ""
8
 
    echo "Your CPU appears to be lacking expected security protections."
9
 
    echo "Please check your BIOS settings, or for more information, run:"
10
 
    echo "  $CMD --verbose"
11
 
fi