summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorphiresky2015-11-21 01:38:48 +0100
committerphiresky2015-11-21 01:38:48 +0100
commit7f9380efa607048617210a915b50da7e60058c97 (patch)
treee4846795c63457c446a9a7009122ae5c7dc7e0cc
parentabe42a4b35206802d38a8b260c907be96197cd78 (diff)
downloadaur-7f9380efa607048617210a915b50da7e60058c97.tar.gz
update for network manager
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--wol-systemd.install10
3 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc64913852c..0c748b576a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wol-systemd
pkgdesc = A systemd unit file for enabling Wake-On-LAN automatically
pkgver = 20150903
- pkgrel = 1
+ pkgrel = 2
url = https://wiki.archlinux.org/index.php/Wake-on-LAN
install = wol-systemd.install
arch = any
@@ -10,7 +10,7 @@ pkgbase = wol-systemd
source = wol@.service
source = wol-systemd.install
sha1sums = 2fae47e792b954f8e70a2dbe9df56458e65ff75b
- sha1sums = 7d1c8ce6f187316746e11fc403f469137ad3a6b4
+ sha1sums = ee32d3ec60f1257509b7bac3af36ff6b57ab325f
pkgname = wol-systemd
diff --git a/PKGBUILD b/PKGBUILD
index f2ce733931a..85fbf00999c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=wol-systemd
pkgver=20150903
-pkgrel=1
+pkgrel=2
pkgdesc="A systemd unit file for enabling Wake-On-LAN automatically"
arch=('any')
url="https://wiki.archlinux.org/index.php/Wake-on-LAN"
@@ -13,4 +13,4 @@ package() {
install -Dm 644 wol@.service "${pkgdir}/usr/lib/systemd/system/wol@.service"
}
sha1sums=('2fae47e792b954f8e70a2dbe9df56458e65ff75b'
- '7d1c8ce6f187316746e11fc403f469137ad3a6b4')
+ 'ee32d3ec60f1257509b7bac3af36ff6b57ab325f')
diff --git a/wol-systemd.install b/wol-systemd.install
index f514d3e813a..3bfc06ad66c 100644
--- a/wol-systemd.install
+++ b/wol-systemd.install
@@ -1,4 +1,12 @@
post_install() {
+ hash nmcli 2>/dev/null && echo '
+ WARNING: You seem to have Network Manager installed.
+ As of 1.0.6, this no longer works with NetworkManager.
+ Use the solution from
+ https://wiki.archlinux.org/index.php/Wake-on-LAN#NetworkManager
+ instead.
+ '
+
cat <<EOT
Now you may enable WOL on each boot with:
@@ -13,4 +21,4 @@ EOT
post_upgrade() {
post_install
-} \ No newline at end of file
+}