Skip to content

Commit 0bb1a7a

Browse files
committed
Correct ifreload flags
1 parent 1a53608 commit 0bb1a7a

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

‎assets/commands/ifreload.md‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,9 @@ Leave one interface **out** of the reload
3232

3333
```ifreload -a -X [eth0]```
3434

35-
Touch only interfaces whose configuration **actually changed**
36-
37-
```ifreload --diff -a```
38-
3935
# SYNOPSIS
4036

41-
**ifreload** [**-h**] (**-a** | **-c** | **--allow**=_CLASS_) [**-n**] [**-v**] [**-d**] [**-f**] [**-s**] [**-X** _PATTERN_] [**--diff**] [options]
37+
**ifreload** [**-h**] (**-a** | **-c** | **--allow**=_CLASS_) [**-n**] [**-v**] [**-d**] [**-f**] [**-s**] [**-X** _PATTERN_] [options]
4238

4339
# PARAMETERS
4440

@@ -69,9 +65,6 @@ Touch only interfaces whose configuration **actually changed**
6965
**-X** _PATTERN_, **--exclude** _PATTERN_
7066
> Skip interfaces matching _PATTERN_. Repeat the flag to skip more than one. If the skipped interface has dependents (a bridge or bond and its members), list each dependent as well or they stay in the run.
7167
72-
**--diff**
73-
> Only bring an interface up or down when its configuration differs from the saved state.
74-
7568
**-u**, **--use-current-config**
7669
> Decide what to bring down from the current interfaces file. The default reads the saved state. Use this when that state file is missing or stale.
7770
@@ -103,7 +96,7 @@ ifupdown2 reads **/etc/network/ifupdown2/ifupdown2.conf**. Interface stanzas sta
10396
> **0** (the value in the upstream sample) runs **down** only for interfaces deleted from the file. **1** also runs **down** on interfaces whose configuration changed before bringing them back up.
10497
10598
**state_dir**
106-
> Directory for the saved interface state used on the next reload. The upstream sample sets **/var/tmp/network/**. A packaged build may point this somewhere else, such as **/run/network/**.
99+
> Directory for the saved interface state used on the next reload. The packaged config sets **/var/tmp/network/**.
107100
108101
# INSTALL
109102

0 commit comments

Comments
 (0)