#!/bin/sh uuid=$(cat /proc/sys/kernel/random/uuid) uci -q batch <<-EOF >/dev/null set u2pnpd.@u2pnpd[0].uuid=$uuid commit u2pnpdEOF exit 0