summaryrefslogtreecommitdiff
path: root/package/mosquitto/files/mosquitto.postinst
blob: a40e7f44cb9e7038756710de06b3c4102b88c5ba (plain)
1
2
3
4
5
6
7
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf mosquitto NO
add_rcconf mosquitto_flags " "
gid=$(get_next_gid) 
add_group mosquitto $gid 
add_user mosquitto $(get_next_uid) $gid /etc/mosquitto