To install wget on a “data” parition: export PKG_TMPDIR=/mnt/usb-data/temp pkg_add -r wget -P /mnt/usb-data/pkg Now we need a script to create the symlinks to the wget binaries in the “pkg” directory: nano /mnt/usb-data/hooks.sh Here’s the content: #!/bin/sh ln -s /mnt/usb-data/pkg/bin/wget /bin/wget Now make it run at boot time, go in System —> Advanced —> Command scripts and enter: /mnt/usb-data