aboutsummaryrefslogtreecommitdiffstats
path: root/community/networkmanager/networkmanager.pre-install
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2018-05-03 16:32:40 +0300
committerFrancesco Colista <fcolista@alpinelinux.org>2018-05-08 08:33:43 +0000
commitfc74201f2bb3f49e7d2ff52ac3b5ede4ca97c0d3 (patch)
tree1152f7dde37b94c6bf33f246e27fd73533d077a0 /community/networkmanager/networkmanager.pre-install
parent020b2bdd4ed193aca11f98281d34b38af98be862 (diff)
downloadaports-fc74201f2bb3f49e7d2ff52ac3b5ede4ca97c0d3.tar.gz
aports-fc74201f2bb3f49e7d2ff52ac3b5ede4ca97c0d3.tar.bz2
aports-fc74201f2bb3f49e7d2ff52ac3b5ede4ca97c0d3.tar.xz
community/networkmanager: Upgrade to 1.10.6
* Clarify license * Patches are revised * Enable dhclient utility support * Enable system-wide network configuration support * Enable polkit-agent * disable_set_hostname.patch is no more appendable. Removed. * Add wpa_supplicant as runtime dependency * Add "provide net" rule to the service file * Re-arrange configure options in alphabetical order * Create plugdev group if missing on system * Display a message during install & upgrade
Diffstat (limited to 'community/networkmanager/networkmanager.pre-install')
-rw-r--r--community/networkmanager/networkmanager.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/networkmanager/networkmanager.pre-install b/community/networkmanager/networkmanager.pre-install
new file mode 100644
index 0000000000..26811dfb09
--- /dev/null
+++ b/community/networkmanager/networkmanager.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+addgroup -S plugdev 2>/dev/null
+
+printf " *\n * To setup system connections, regular users must be member of 'plugdev' group.\n *\n"
+printf " *\n * To control WiFi devices, enable wpa_supplicant service: 'rc-update add wpa_supplicant default'\n"
+printf " * then reboot the system or restart 'wpa_supplicant' and 'networkmanager' services respectively.\n *\n"
+
+exit 0