blob: d9f6ceb889eeae455d4ac59d010fab0a8570753f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
set -e
if [ "$IFACE" != "myri0" ]; then
exit 0
fi
SHORTNAME=$(hostname -s)
/etc/init.d/mx start
/sbin/ifconfig "$IFACE" $(gethostip -d "$SHORTNAME-$IFACE") netmask 255.255.240.0 up
|