b6bcd8cd34
* daemontools and dmraid is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
13 lines
491 B
Diff
13 lines
491 B
Diff
diff --git a/client/scripts/linux b/client/scripts/linux
|
|
index 5fb16121..c4cef632 100755
|
|
--- a/client/scripts/linux
|
|
+++ b/client/scripts/linux
|
|
@@ -362,7 +362,7 @@ case "$reason" in
|
|
interface_up_wait_time=5
|
|
for i in $(seq 0 ${interface_up_wait_time})
|
|
do
|
|
- ifconfig ${interface} | grep RUNNING >/dev/null 2>&1
|
|
+ ${ip} link show dev ${interface} | grep -q LOWER_UP 2>&1
|
|
if [ $? -eq 0 ]; then
|
|
break;
|
|
fi
|