summaryrefslogtreecommitdiff
path: root/packages/ppp-dialin/ppp-dialin_0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ppp-dialin/ppp-dialin_0.1.bb')
-rw-r--r--packages/ppp-dialin/ppp-dialin_0.1.bb13
1 files changed, 3 insertions, 10 deletions
diff --git a/packages/ppp-dialin/ppp-dialin_0.1.bb b/packages/ppp-dialin/ppp-dialin_0.1.bb
index 0d2ee82589..968ed1d73e 100644
--- a/packages/ppp-dialin/ppp-dialin_0.1.bb
+++ b/packages/ppp-dialin/ppp-dialin_0.1.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Enables PPP dial-in through a serial connection"
MAINTAINER = "Rene Wagner <reenoo@gmx.de>"
DEPENDS = "ppp"
RDEPENDS = "ppp"
-PR = "r2"
+PR = "r3"
SRC_URI = "file://host-peer \
file://ppp-dialin"
@@ -13,21 +13,15 @@ do_install() {
install -m 0644 ${WORKDIR}/host-peer ${D}/${sysconfdir}/ppp/peers/host
install -d ${D}/${sbindir}
- install -m 0750 ${WORKDIR}/ppp-dialin ${D}/${sbindir}
+ install -m 0755 ${WORKDIR}/ppp-dialin ${D}/${sbindir}
}
-# NOTE: adduser appears to be malfunctioning.
-# add ppp user when creating the group already.
-
pkg_postinst() {
if test "x$D" != "x"; then
exit 1
else
- addgroup ppp ppp
- adduser --system --home /dev/null --no-create-home --empty-password --ingroup ppp -s /usr/sbin/ppp-dialin ppp
- chgrp ppp /usr/sbin/ppp-dialin
- chmod u+s /usr/sbin/ppp-dialin
+ adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup -s /usr/sbin/ppp-dialin ppp
fi
}
@@ -36,6 +30,5 @@ if test "x$D" != "x"; then
exit 1
else
deluser ppp
- delgroup ppp
fi
}