packages/net/portmap/files/portmap.init
John Crispin d4042ec35e generic userid: use the new USERID api
recent changes in trunk allow us to specify the userid inside the openwrt makefile.
the info is stored int he meta data of the IPK contorl file and users are generated
by the new generic postinst trigger.

Signed-off-by: John Crispin <blogic@openwrt.org>
2014-10-08 03:45:30 +02:00

13 lines
204 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=19
STOP=19
USE_PROCD=1
start_service() {
procd_open_instance
procd_set_param command /usr/sbin/portmap -f
procd_close_instance
}