[yum-git] yum-NetworkManager-dispatcher
James Antill
james at linux.duke.edu
Wed Aug 27 13:35:13 UTC 2008
yum-NetworkManager-dispatcher | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 7ba47e99f028b3bd0122175139e9fe41ae75afcb
Author: James Antill <james at and.org>
Date: Wed Aug 27 09:34:57 2008 -0400
Add the NetworkManager dispatcher script
diff --git a/yum-NetworkManager-dispatcher b/yum-NetworkManager-dispatcher
new file mode 100755
index 0000000..a9f0d99
--- /dev/null
+++ b/yum-NetworkManager-dispatcher
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+# Really we should check the IP and see if it's the same, and if so
+# don't bother. etc. ... whatever. This should keep people happyish.
+[ "$2" = "up" ] && yum clean expire-cache 2>&1 > /dev/null
+
More information about the Yum-cvs-commits
mailing list