summarylogtreecommitdiffstats
path: root/eudev-git.install
diff options
context:
space:
mode:
authorAlexey D2014-02-15 14:41:18 +0400
committerAlexey D2015-07-05 08:55:52 +0300
commit84d7f48bc83c8a263469ea82522a71ab80ebd9f1 (patch)
tree1a90d4df5746aa101b03c08294645779aaff0776 /eudev-git.install
parent0bdc64c36c0cfffdb1cbd860195c45c21c721134 (diff)
downloadaur-84d7f48bc83c8a263469ea82522a71ab80ebd9f1.tar.gz
version 20140209-1
Diffstat (limited to 'eudev-git.install')
-rwxr-xr-xeudev-git.install18
1 files changed, 13 insertions, 5 deletions
diff --git a/eudev-git.install b/eudev-git.install
index baedb7ed5376..d54362973835 100755
--- a/eudev-git.install
+++ b/eudev-git.install
@@ -1,6 +1,14 @@
# arg 1: the new package version
# arg 2: the old package version
+netdev_warn() {
+ echo " * Now eudev supports predictable network interface names."
+ echo " * You can enable it by uncommenting lines into"
+ echo " * /etc/udev/rules.d/80-net-name-slot.rules"
+ echo
+ echo " * See http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames"
+}
+
post_upgrade() {
if [ "$(vercmp $2 181-3)" -lt 0 ]; then
echo "udev changes:"
@@ -54,13 +62,13 @@ post_upgrade() {
echo " * binaries moved from /sbin to /usr/bin"
fi
if [ "$(vercmp $2 20130128)" -lt 0 ]; then
- echo " * Now eudev supports predictable network interface names."
- echo " * You can enable it by uncommenting lines into"
- echo " * /etc/udev/rules.d/80-net-name-slot.rules"
- echo
- echo " * See http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames"
+ netdev_warn
fi
echo " * if your kernel does not provide /dev/loop-control, you need to manually"
echo " load the 'loop' module before using losetup"
fi
}
+
+post_install() {
+ netdev_warn
+}