I have a Buffalo Link Station and I want to upgrade the version of twonky from 4.4.2 to 6.3.0. Currently the version of twonky that came on the NAS is installed /usr/local/twonky
Now I modified the install.nas to point to /usr/local/twonky
Any ideas of what modifications need to be made to the nas-uninstaller in order to delete the current version? Or can I just manually delete the folder from the drive?
Also is there any way to not have the installer setup the /mnt/twonkymedia ?
Any help would be greatly appreciated
Modify NAS Installer to work correctly
-
- Posts:9
- Joined:Mon Feb 21, 2011 2:14 pm
- AV Hardware:Sony Bravia KDL46XBR
Sony PS3
Logitech Revue
Netgear Digital Entertainer Live
Re: Modify NAS Installer to work correctly
Is this where it sets the /mnt/twonkymedia upon installing?
So if I commented out the code would it then not install the default twonkymedia folder under /mnt
Code: Select all
if [ "${DIR}" = "AUTOMATIC" ] ; then
echo checking attached USB drives...
# NSLU2, check available disk and change DIR to the first available
df|grep -q /share/hdd/data/HDD_1_1_1
if [ "$?" = "0" ] ; then
DIR=/share/hdd/data/HDD_1_1_1/twonkymedia
else
df|grep -q /share/flash/data/HDD_2_1_1
if [ "$?" = "0" ] ; then
DIR=/share/flash/data/HDD_2_1_1/twonkymedia
else
df|grep -q /share/hdd/data
if [ "$?" = "0" ] ; then
DIR=/share/hdd/data/twonkymedia
else
df|grep -q /share/flash/data
if [ "$?" = "0" ] ; then
DIR=/share/flash/data/twonkymedia
else
echo "could not install twonkymedia, no USB drive found"
echo
echo "nas-installer exit"
exit
fi
fi
fi
fi
echo "DIR ${DIR}"
fi