From 88159d703e9b75d3cb0c192e7d7ae92d9d8c67bc Mon Sep 17 00:00:00 2001 From: kali Date: Thu, 24 Jan 2013 03:29:21 +0900 Subject: update docs about system files --- docs/dev/environment.rst | 4 ++-- docs/testers/howto.rst | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/dev/environment.rst b/docs/dev/environment.rst index 3c2b0291..33310b91 100644 --- a/docs/dev/environment.rst +++ b/docs/dev/environment.rst @@ -81,7 +81,7 @@ A second option if that does not work for you would be to install PyQt globally $ apt-get install python-qt4 $ virtualenv --site-packages . -Or, if you prefer, you can also `download the official PyQt tarball`_ and execute ``configure.py`` in the root folder of their distribution, which generates a ``Makefile``:: +Or, if you prefer, you can also `download the official PyQt tarball `_ and execute ``configure.py`` in the root folder of their distribution, which generates a ``Makefile``:: $ python configure.py $ make && make install @@ -90,7 +90,7 @@ Or, if you prefer, you can also `download the official PyQt tarball` to learn more about virtualenv. -Policy files -^^^^^^^^^^^^ +Copying config files +^^^^^^^^^^^^^^^^^^^^ + +If you have never installed the ``leap-client`` globally, **you need to copy some files to its proper path before running it for the first time** (you only need to do this once). This, unless the virtualenv-based operations, will need root permissions. See :ref:`copy script files ` and :ref:`running openvpn without root privileges ` sections for more info on this. In short:: -If you have never installed the ``leap-client`` globally, **you need to copy a policykit file to its proper path before running it for the first time** (you only need to do this once). This, unless the virtualenv-based operations, will need root permissions. See :ref:`running openvpn without root privileges ` section for more info on this. + $ sudo cp pkg/linux/polkit/net.openvpn.gui.leap.policy /usr/share/polkit-1/actions/ + $ sudo mkdir -p /etc/leap + $ sudo cp pkg/linux/resolv-update /etc/leap -Config files -^^^^^^^^^^^^ +Local config files +^^^^^^^^^^^^^^^^^^^ If you want to start fresh without config files, just move them. In linux:: -- cgit v1.2.3