Quote:
my question is, who tells system to run if-down.d ?
|
The init puts down as requested by the /etc/network script.
It is a script that automatically sets down the device upon detach of cable. If you hate that behaviour you may comment out (#) the ifconfig block that puts the device down; then removing the cable the device is still up.
Quote:
especially if i'm in the embedded world,
don't have the fancy stuff as network manager,
how can this be archived ?
|
From either another script:
Code:
/etc/network/if-up.d start {if it is there or something this kind is provided therein}
or from the terminal directly as root:
Code:
root-# ifconfig eth0 up
Hope that helps.
Good luck.