summaryrefslogtreecommitdiffstats
path: root/meta-netboot/recipes-core/systemd/files/resolv-conf-relabel.service
blob: 5d9216cc2d3c2df084bfd4383b1024f6b7d22f4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=SELinux resolv.conf relabeling
DefaultDependencies=no
ConditionKernelCommandLine=ip
ConditionKernelCommandLine=nbd.server
After=local-fs.target
Before=sysinit.target

[Service]
Type=oneshot
ExecStart=/usr/sbin/restorecon -Fi /etc/resolv.conf

[Install]
WantedBy=sysinit.target