NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mherger
Feb 07, 2012Aspirant
Getting "Installation failed" on updates, even on success
Hi, I'm working on an add-on which is returning a generic "Failed to install addon" (ADDON_INST_FAIL) error message when I install it on top of an existing installation (update). At the same time I...
WhoCares_
Feb 07, 2012Mentor
mherger wrote: How would I unpack an addon so I could run the script manually? It's not a simple tarball, is it?
#!/bin/bash
ARCH=`uname -m`
if [ "${ARCH}" == "padre" ]; then
BSIZE=512
else
BSIZE=16384
fi
if [ -f $1 ]; then
TFIL=`basename $1 .bin`
TFIL="${TFIL}.tar"
dd if=$1 of=${TFIL} bs=${BSIZE} skip=1
else
echo "Add-on file doesn't exist"
fi
From the top of my head so there may be syntax errors in there ;)
-Stefan
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!