Skip to content
Snippets Groups Projects
Commit b50bbbed authored by blogic's avatar blogic
Browse files

lldp: remove calls to user/group_add/exists


use the new ipkg based mechanism

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42472 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 2472d022
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ define Package/lldpd
TITLE:=Link Layer Discovery Protocol daemon
URL:=https://github.com/vincentbernat/lldpd/wiki
DEPENDS:=+libevent2 +USE_EGLIBC:libbsd
USERID:=lldp:lldp
endef
define Package/lldpd/description
......
......@@ -50,9 +50,6 @@ start() {
[ $enable_sonmp -gt 0 ] && append args '-s'
[ $enable_edp -gt 0 ] && append args '-e'
user_exists lldp 121 || user_add lldp 121 129
group_exists lldp 129 || group_add lldp 129
mkdir -p /var/run/lldp
chown lldp:lldp /var/run/lldp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment