File: up.1

package info (click to toggle)
ifupdown 0.8.44
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 952 kB
  • sloc: ansic: 2,781; sh: 899; perl: 513; makefile: 90
file content (61 lines) | stat: -rw-r--r-- 2,119 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
exit code: 0
====stdout====
====stderr====
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d

ifup: configuring interface eth0=eth0 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 1.2.3.4/255.255.255.0 broadcast 1.2.3.255 	  dev eth0 label eth0
ip link set dev eth0   up

echo hi
echo hello
run-parts --exit-on-error --verbose /etc/network/if-up.d

ifup: configuring interface eth1=eth1 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 1.2.3.4/255.252.0.0 broadcast 1.3.255.255 	  dev eth1 label eth1
ip link set dev eth1   up

echo hi
echo hello
run-parts --exit-on-error --verbose /etc/network/if-up.d

ifup: configuring interface eth2=eth2 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 1.2.3.4/255.255.255.128 broadcast 1.2.3.127 	  dev eth2 label eth2
ip link set dev eth2   up

echo hi
echo hello
run-parts --exit-on-error --verbose /etc/network/if-up.d

ifup: configuring interface eth3=eth3 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 1.2.3.4/255.255.255.0 broadcast 1.2.3.0 	  dev eth3 label eth3
ip link set dev eth3   up

true
run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth3=eth3 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 1.2.3.4/255.255.255.252 broadcast 1.2.3.4 	  dev eth3 label eth3
ip link set dev eth3   up

true
run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth3=eth3 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 1.2.3.4/255.255.255.254 broadcast 255.255.255.255 	  dev eth3 label eth3
ip link set dev eth3   up

true
run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth3=eth3 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 1.2.3.4/255.255.255.254 broadcast 0.0.0.0 	  dev eth3 label eth3
ip link set dev eth3   up

true
run-parts --exit-on-error --verbose /etc/network/if-up.d
run-parts --exit-on-error --verbose /etc/network/if-up.d