Patchwork [1/2] busybox 1.20.x: add if-post-up.d and if-pre-down.d to device table

login
register
mail settings
Submitter Gustavo Zacarias
Date April 29, 2012, 1:03 p.m.
Message ID <1335704632-23164-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/155734/
State Accepted
Commit 40c20cd40e74c97c8995dbf2ca0d6570b46d9261
Headers show

Comments

Gustavo Zacarias - April 29, 2012, 1:03 p.m.
Busybox 1.20.0 add functionality to execute scripts from if-post-up.d
and if-pre-down.d, so add the missing directories to the device table to
get them created and avoid unnecessary warnings if not.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 target/generic/device_table.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Peter Korsgaard - April 29, 2012, 5:14 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Busybox 1.20.0 add functionality to execute scripts from
 Gustavo> if-post-up.d and if-pre-down.d, so add the missing directories
 Gustavo> to the device table to get them created and avoid unnecessary
 Gustavo> warnings if not.

Committed, thanks.

Patch

diff --git a/target/generic/device_table.txt b/target/generic/device_table.txt
index d3e394b..fc397a9 100644
--- a/target/generic/device_table.txt
+++ b/target/generic/device_table.txt
@@ -14,7 +14,9 @@ 
 /etc/passwd				f	644	0	0	-	-	-	-	-
 /etc/network/if-up.d			d	755	0	0	-	-	-	-	-
 /etc/network/if-pre-up.d		d	755	0	0	-	-	-	-	-
+/etc/network/if-post-up.d		d	755	0	0	-	-	-	-	-
 /etc/network/if-down.d			d	755	0	0	-	-	-	-	-
+/etc/network/if-pre-down.d		d	755	0	0	-	-	-	-	-
 /etc/network/if-post-down.d		d	755	0	0	-	-	-	-	-
 # uncomment this to allow starting x as non-root
 #/usr/X11R6/bin/Xfbdev		     	f	4755	0	0	-	-	-	-	-