Viitor_upstart/etc/init/maccfg.conf

18 lines
394 B
Plaintext
Raw Normal View History

description "Special MAC Address Setup based on /etc/mactab*"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on ( runlevel [2345] and (stopped mountfs))
console output
script
if ls /etc/mactab* &>/dev/null; then
for maccfg in /etc/mactab*; do
nameif -c $maccfg >/dev/null
done
status_message "Setup of mac adresses"
fi
end script