aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rancid/rancid.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-08 07:55:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-08 07:57:31 +0000
commita14ae3e3ee75f06a76c45069c247e9391b404557 (patch)
tree5ad4efffc847e84b7c2642fb0f247e2f00c7cfa3 /testing/rancid/rancid.pre-install
parentf6e179c9c92e4c16c1e43c232c0f24b4cbd32685 (diff)
downloadaports-a14ae3e3ee75f06a76c45069c247e9391b404557.tar.gz
aports-a14ae3e3ee75f06a76c45069c247e9391b404557.tar.bz2
aports-a14ae3e3ee75f06a76c45069c247e9391b404557.tar.xz
testing/rancid: minor cleanup
ref #1821
Diffstat (limited to 'testing/rancid/rancid.pre-install')
-rw-r--r--testing/rancid/rancid.pre-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/rancid/rancid.pre-install b/testing/rancid/rancid.pre-install
index 9c90858b55..aa86d1cc50 100644
--- a/testing/rancid/rancid.pre-install
+++ b/testing/rancid/rancid.pre-install
@@ -1,4 +1,5 @@
#!/bin/sh
+
addgroup netadm 2>/dev/null
-adduser -h /home/rancid -s /bin/sh -G netadm -D rancid 2>/dev/null || true
+adduser -S -h /var/rancid -s /bin/sh -G netadm -D rancid 2>/dev/null
exit 0