moved into main for pisi 2.0
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
if not os.path.exists("/var/lib/dhcpd/dhcpd.leases"):
|
||||
os.system("/bin/touch /var/lib/dhcpd/dhcpd.leases")
|
||||
|
||||
if not os.path.exists("/var/lib/dhcpd/dhcpd6.leases"):
|
||||
os.system("/bin/touch /var/lib/dhcpd/dhcpd6.leases")
|
||||
|
||||
Reference in New Issue
Block a user