Your right, my bad. The filesystem runs in a live environment like a Ubuntu live cd. If you wanted to get creative you could download the individual dpkg files that make up etherwake to the user space (/mnt/img/) and install them from there, rather then download the package each time.
Cheers
Hi Chris,
Thinking about it we could just do unpack etherwake and WoL if the NAS is asleep. So that means we have something like this in the startup:
#!/bin/bash
if ! (ping -c1 10.0.1.201)
then
apt-get -y install etherwake
etherwake 00:11:32:1A:53:D9
fi
I would have liked to have ( with the output redirected to the null device):
#!/bin/bash
if ! (ping -c1 10.0.1.201 &> /dev/null )
then
apt-get -y install etherwake
etherwake 00:11:32:1A:53:D9
fi
but there's a bug in the save for your Startup-Script window and it doesn't save.
As always thanks for all your help.
Ron