Viitor_upstart/etc/init/maccfg.conf
kueller 79b2635d46 Neue Version V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_upstart@5933 504e572c-2e33-0410-9681-be2bf7408885
2011-01-03 10:48:06 +00:00

18 lines
394 B
Plaintext

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