diff options
author | John Crispin <john@openwrt.org> | 2014-09-11 12:28:22 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-11 12:28:22 +0000 |
commit | 5920eac8eeba0d689c7af9389aea2e2f46eec9ce (patch) | |
tree | d3250c6908c4e67fc9b6a9407e13a014cd6a54a7 /package/network/services/lldpd/files/lldpd.init | |
parent | f81614594f4947ab4b23a7ea374c133729223015 (diff) | |
download | master-31e0f0ae-5920eac8eeba0d689c7af9389aea2e2f46eec9ce.tar.gz master-31e0f0ae-5920eac8eeba0d689c7af9389aea2e2f46eec9ce.tar.bz2 master-31e0f0ae-5920eac8eeba0d689c7af9389aea2e2f46eec9ce.zip |
lldp: remove calls to user/group_add/exists
use the new ipkg based mechanism
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42472
Diffstat (limited to 'package/network/services/lldpd/files/lldpd.init')
-rw-r--r-- | package/network/services/lldpd/files/lldpd.init | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 35999501f9..b2eea70fd3 100644 --- a/package/network/services/lldpd/files/lldpd.init +++ b/package/network/services/lldpd/files/lldpd.init @@ -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 |