summarylogtreecommitdiffstats
path: root/vmware-networks-configuration.service
diff options
context:
space:
mode:
authorJean-Marc Lenoir2018-09-29 13:27:04 +0200
committerJean-Marc Lenoir2018-09-29 13:27:04 +0200
commit013fc11c135dadd4f45e611e087c2c164cd76e36 (patch)
tree7c885fed26513102e5b5d5bd6f434a0785fcea3a /vmware-networks-configuration.service
downloadaur-013fc11c135dadd4f45e611e087c2c164cd76e36.tar.gz
Initial commit.
Diffstat (limited to 'vmware-networks-configuration.service')
-rw-r--r--vmware-networks-configuration.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/vmware-networks-configuration.service b/vmware-networks-configuration.service
new file mode 100644
index 00000000000..779b01a3171
--- /dev/null
+++ b/vmware-networks-configuration.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=VMware Networks Configuration Generation
+ConditionPathExists=|!/etc/vmware/networking
+ConditionPathExists=|!/etc/vmware/vmnet1/dhcpd/dhcpd.conf
+ConditionPathExists=|!/etc/vmware/vmnet1/dhcpd/dhcpd.leases
+ConditionPathExists=|!/etc/vmware/vmnet8/dhcpd/dhcpd.conf
+ConditionPathExists=|!/etc/vmware/vmnet8/dhcpd/dhcpd.leases
+ConditionPathExists=|!/etc/vmware/vmnet8/nat/nat.conf
+
+[Service]
+UMask=0077
+ExecStart=/usr/bin/vmware-networks --postinstall vmware-player,0,1
+Type=oneshot
+RemainAfterExit=yes