summaryrefslogtreecommitdiff
blob: 7a60b07327ebe51b67940dc73f41e611fe886ce4 (plain)
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
--- bin/resolvconf	2006-05-25 18:35:31 +0000
+++ bin/resolvconf	2006-09-09 22:12:23 +0000
@@ -211,6 +211,10 @@
 	echo "${IFACE}" >> "${ADDORDER}"
 fi
 
-run-parts "--arg=${CMD}" ${IFACE:+--arg=${IFACE}} /etc/resolvconf/update.d
+for x in /etc/resolvconf/update.d/* ; do
+	[[ -e ${x} ]] && "${x}" "${CMD}" "${IFACE}"
+done
+
+exit 0
 
 # vim: ts=4 :
--- update.d/libc	2006-06-04 16:55:13 +0000
+++ update.d/libc	2006-09-09 22:13:18 +0000
@@ -108,6 +108,10 @@
 fi
 
 # Notify users of the resolver
-exec run-parts ${1:+--arg $1} ${2:+--arg $2} /etc/resolvconf/update-libc.d
+for x in /etc/resolvconf/update-libc.d/* ; do
+	[[ -e ${x} ]] && "${x}" "$@"
+done
+
+exit 0
 
 # vim: ts=4 :