summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2012-05-19 15:56:54 (GMT)
committer Jaromil <jaromil@dyne.org>2012-05-19 15:57:36 (GMT)
commit2c51e2978e3a5b0b82d3d29c3926068b1a5b17b5 (patch)
tree33c4fa989deb7a4e5b6969264a8f8895520d30bf
parent17ff087db50324fcb809ed9e5980bb40ac66fa29 (diff)
fix /etc/networks warning
-rw-r--r--scripts/S88hdsync3
-rwxr-xr-xscripts/assemble-app-bin.sh1
-rw-r--r--scripts/networks3
3 files changed, 7 insertions, 0 deletions
diff --git a/scripts/S88hdsync b/scripts/S88hdsync
index 64989bd..e8990fe 100644
--- a/scripts/S88hdsync
+++ b/scripts/S88hdsync
@@ -80,6 +80,9 @@ sleep 10
config_tool -c DMA_ENABLE_SCREENSAVER='0'
config_tool -c DMA_SCREENSAVER='0'
+# setup our own networks database
+export PGM_NETDB=$APPROOT/etc/networks
+
# kill all services hogging our resources
killall dmaosd
killall pandora_ep
diff --git a/scripts/assemble-app-bin.sh b/scripts/assemble-app-bin.sh
index 72441fd..863a6c8 100755
--- a/scripts/assemble-app-bin.sh
+++ b/scripts/assemble-app-bin.sh
@@ -40,6 +40,7 @@ if [ -z $1 ]; then
cp -v src/hdsync $appdir/bin &&
cp -v scripts/utils-sync.sh $appdir/bin &&
+ cp -v scripts/networks $appdir/etc &&
cp -v scripts/S88hdsync $appdir/etc/init.d &&
chmod a+x $appdir/etc/init.d/S88hdsync &&
cp -v README $appdir &&
diff --git a/scripts/networks b/scripts/networks
new file mode 100644
index 0000000..edb78bf
--- /dev/null
+++ b/scripts/networks
@@ -0,0 +1,3 @@
+default 0.0.0.0
+loopback 127.0.0.0
+link-local 169.254.0.0