~pwlars/ubuntu-test-cases/krillin-recovery

« back to all changes in this revision

Viewing changes to utils/target/check-clickhook-rules

  • Committer: Paul Larson
  • Date: 2014-10-21 15:40:57 UTC
  • Revision ID: paul.larson@canonical.com-20141021154057-zk465lswaexddae7
Find a better default location for the wifi configuration

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
failcnt=0
 
4
for i in /var/lib/apparmor/profiles/click_*; do
 
5
        if ! grep -q "# injected via click hook" $i; then
 
6
                echo "$i does not have autopilot rules"
 
7
                failcnt=$((failcnt+1))
 
8
        fi
 
9
done
 
10
exit $failcnt