You are not logged in.
Hi there!
What is the archway of executing a script on boot after all interfaces are up? I couldnt figure this one out so far. In debian I would edit my /etc/network/interfaces.
Any help appreciated!
best regards,
daniel
Offline
On Arch, you can use netcfg, create a suitable profile, and add a command in POST_UP="" - though that's just for that interface/profile, not all.
If you want to run something only if all interfaces are up, and you've got both configured with netcfg I'd just add a few lines to rc.local like below....
. /usr/lib/network/network.subr
if check_iface eth0 && check_iface wlan0; then
echo "Both are up, yay"
fi
Cheers,
James
Offline
yay, thanks. That will fit my needs I guess.
Offline