mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
u2pnpd: add new package
u²pnpd announces a device as UPnP basic device on the network so that an user could easily find it. It tries to detect various system information automatically, however everything can be overridden by UCI settings. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
uuid=$(cat /proc/sys/kernel/random/uuid)
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set u2pnpd.@u2pnpd[0].uuid=$uuid
|
||||
commit u2pnpd
|
||||
EOF
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user