~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to utopic/etc/init/selinux-mounted-dev.conf

  • Committer: Dimitri John Ledkov
  • Date: 2014-11-19 12:58:41 UTC
  • Revision ID: dimitri.j.ledkov@intel.com-20141119125841-98dr37roy8dvcv3b
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# selinux-mounted-dev - Run restorecon on /dev directory
2
 
 
3
 
description     "Run restorecon on newly mounted /dev directory"
4
 
 
5
 
start on mounted MOUNTPOINT=/dev
6
 
env MOUNTPOINT=/dev
7
 
 
8
 
task
9
 
 
10
 
script
11
 
    if [ -x /sbin/restorecon ]; then
12
 
        /sbin/restorecon -R "${MOUNTPOINT}"
13
 
    fi
14
 
end script