summaryrefslogtreecommitdiffstats
path: root/main/dhcp/dhcp.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-31 06:14:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-31 06:23:23 +0000
commitde25f1da2b2c5f49e7917971b2e324cb0773fa30 (patch)
treeb54e128a26a4c6b8c7e08838fefffbdfdef15d87 /main/dhcp/dhcp.pre-install
parent37907999d18ebba37db13bfa7415401922eb6141 (diff)
downloadaports-de25f1da2b2c5f49e7917971b2e324cb0773fa30.tar.bz2
aports-de25f1da2b2c5f49e7917971b2e324cb0773fa30.tar.xz
main/dhcp: fix paths to lease files and configs
also * enable paranoia for -user/-group options * fix install scripts * import new init.d script * add missing dirs * move dhclient to a separate subpackage Fixes #110
Diffstat (limited to 'main/dhcp/dhcp.pre-install')
-rw-r--r--main/dhcp/dhcp.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/dhcp/dhcp.pre-install b/main/dhcp/dhcp.pre-install
new file mode 100644
index 000000000..9c623bfb9
--- /dev/null
+++ b/main/dhcp/dhcp.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+adduser -h /var/lib/dhcp -s /bin/false -D dhcp 2>/dev/null
+exit 0
+