|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Support facilities for the new DHCP support.
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID d1abced7ab7cfa79693a7c874ebe1fe3c58d4c0d
# Parent 28331cd6d43af74209f48c00e6581b3e86c2c014
Support facilities for the new DHCP support.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r 28331cd6d43a -r d1abced7ab7c tools/examples/xen-network-common.sh
--- a/tools/examples/xen-network-common.sh Tue Nov 29 14:56:54 2005
+++ b/tools/examples/xen-network-common.sh Tue Nov 29 14:57:33 2005
@@ -69,3 +69,29 @@
true
}
fi
+
+
+first_file()
+{
+ t="$1"
+ shift
+ for file in $@
+ do
+ if [ "$t" "$file" ]
+ then
+ echo "$file"
+ return
+ fi
+ done
+}
+
+find_dhcpd_conf_file()
+{
+ first_file -f /etc/dhcp3/dhcpd.conf /etc/dhcpd.conf
+}
+
+
+find_dhcpd_init_file()
+{
+ first_file -x /etc/init.d/dhcp3-server /etc/init.d/dhcp
+}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Support facilities for the new DHCP support.,
Xen patchbot -unstable <=
|
|
|
|
|