summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d/networking
blob: 9073d1bddeff63232824bdfce23950958022db40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh /etc/rc.common

START='30'
STOP='80'

start()
{
	log 'Configuring network interfaces'
	ifdown -a >/dev/null 2>&1
	ifup -a
}

stop()
{
	log 'Deconfiguring network interfaces'
	ifdown -a
}

restart()
{
	log 'Reconfiguring network interfaces'
	ifdown -a
	ifup -a
}