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

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
}