diff --git a/debian/changelog b/debian/changelog index b083a09..8818200 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -pifi (0.1.0) UNRELEASED; urgency=medium +pifi (0.1.2) UNRELEASED; urgency=medium - * Added basic cli tool for mangaging pifi + * Added pkla to allow network manager over ssh, and override default - -- Rohan Agrawal Sun, 09 Jul 2017 09:51:16 -0700 + -- Rohan Agrawal Sun, 09 Jul 2017 11:22:53 -0700 diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..d9be748 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +pifi-NetworkManager.pkla /var/lib/polkit-1/localauthority/50-local.d/ diff --git a/pifi-NetworkManager.pkla b/pifi-NetworkManager.pkla new file mode 100644 index 0000000..26d1ee6 --- /dev/null +++ b/pifi-NetworkManager.pkla @@ -0,0 +1,7 @@ +[Allow access to the network manager API for all users] +Identity=unix-group:netdev;unix-group:sudo +Action=org.freedesktop.NetworkManager.* +# Allow network manager changes by remote users +ResultAny=yes +ResultInactive=yes +ResultActive=yes diff --git a/setup.py b/setup.py index bc41af6..87583e4 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='pifi', - version='0.1.0', + version='0.1.2', description='Wifi tools for the Raspberry Pi', url='https://github.com/rohbotics/pifi',