NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ajsym
Sep 25, 2012Aspirant
Install addon from command line
I am developing an addon and one of the functionality I am looking for is to be able to install it from command line. So, if my addon is called: mynetaddon.bin then, > command/script mynetaddon....
mdgm-ntgr
Sep 25, 2012NETGEAR Employee Retired
Is this for your Ultra?
Take a look at e.g. http://www.readynas.com/forum/viewtopic.php?f=35&t=30455
Once you have extracted the add-on to a directory (you should see four files: install.sh, remove.sh, addons.conf, files.tgz), change the working directory to that directory and run the install script
e.g.
In the above example all the contents of /tmp/fred will be removed at the end of the add-on installation.
Installing from the command line you might be able to put in some debug code that won't show via a Frontview installation but before releasing an add-on you should test installation via Frontview to confirm it works via that method.
Take a look at e.g. http://www.readynas.com/forum/viewtopic.php?f=35&t=30455
Once you have extracted the add-on to a directory (you should see four files: install.sh, remove.sh, addons.conf, files.tgz), change the working directory to that directory and run the install script
e.g.
cd /tmp/fred
sh install.sh
In the above example all the contents of /tmp/fred will be removed at the end of the add-on installation.
Installing from the command line you might be able to put in some debug code that won't show via a Frontview installation but before releasing an add-on you should test installation via Frontview to confirm it works via that method.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!