summarylogtreecommitdiffstats
path: root/wol-systemd.install
diff options
context:
space:
mode:
authorphiresky2015-09-03 17:43:04 +0200
committerphiresky2015-09-03 17:43:04 +0200
commit987dc8c0459c68316ab7cc88193de5c56d41c591 (patch)
tree7d6702c807bc6860d7e3593f041c9e57ad0cba3a /wol-systemd.install
downloadaur-987dc8c0459c68316ab7cc88193de5c56d41c591.tar.gz
initial commit
Diffstat (limited to 'wol-systemd.install')
-rw-r--r--wol-systemd.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/wol-systemd.install b/wol-systemd.install
new file mode 100644
index 000000000000..f514d3e813a2
--- /dev/null
+++ b/wol-systemd.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat <<EOT
+Now you may enable WOL on each boot with:
+
+ systemctl enable wol@eth0
+
+If you wish to have WOL enabled once, simply call:
+
+ systemctl start wol@eth0
+
+EOT
+}
+
+post_upgrade() {
+ post_install
+} \ No newline at end of file