mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
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>
This commit is contained in:
@@ -86,9 +86,6 @@ setup_dns() {
|
||||
start() {
|
||||
local hostname iface
|
||||
|
||||
user_exists ocserv 72 || user_add ocserv 72 72 /var/lib/ocserv
|
||||
group_exists ocserv 72 || group_add ocserv 72
|
||||
|
||||
hostname=`uci get ddns.myddns.domain`
|
||||
[ -z "$hostname" ] && hostname=`uci get system.@system[0].hostname`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user