miniupnpc: fix external-ip command
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
@@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
|
||||
mv $out/bin/upnpc-* $out/bin/upnpc
|
||||
mv $out/bin/upnp-listdevices-* $out/bin/upnp-listdevices
|
||||
mv $out/bin/external-ip.sh $out/bin/external-ip
|
||||
chmod +x $out/bin/external-ip
|
||||
patchShebangs $out/bin/external-ip
|
||||
substituteInPlace $out/bin/external-ip \
|
||||
--replace-fail "upnpc" $out/bin/upnpc
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
Reference in New Issue
Block a user