Signed-off-by: Rene Wagner <rw@handhelds.org>
MAINTAINER = "Rene Wagner <rw@handhelds.org>"
DEPENDS = "ppp"
RDEPENDS = "ppp"
-PR = "r4"
+PR = "r5"
LICENSE = "MIT"
SRC_URI = "file://host-peer \
if test "x$D" != "x"; then
exit 1
else
- adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup -s ${sbindir}/ppp-dialin ppp
+ if grep -q '^ppp:' /etc/passwd; then
+ echo "ppp: login exists"
+ else
+ adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup -s ${sbindir}/ppp-dialin ppp
+ fi
fi
}