source: projects/initscripts/tags/initscripts-8.91.8/NetworkManager/dispatcher.d/00-aliases @ 3858

Revision 3858, 319 bytes checked in by daisuke, 13 years ago (diff)

tagging as initscripts-8.91.8

Line 
1#!/bin/bash
2# bring up ip alias interface
3. /etc/rc.d/init.d/functions
4
5iface="$1"
6action="$2"
7
8if [ "$action" = "up" ]; then
9    ls /etc/sysconfig/network-scripts/ifcfg-$iface:* | \
10    sed -e ${__sed_discard_ignored_files} | \
11    cut -d: -f2 | \
12    while read ALIAS ;do
13        /sbin/ifup $iface:$ALIAS
14    done
15fi
Note: See TracBrowser for help on using the repository browser.