diff --git a/README.md b/README.md index 582ffa5..3f5b555 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ VPN Client app for [YunoHost](http://yunohost.org/). * Useful for hosting your server behind a filtered (and/or non-neutral) internet access. * Useful to have static IP addresses (IPv6 and IPv4). * Useful to easily move your server anywhere. -* With the [Hotspot app for YunoHost](https://github.com/jvaubourg/hotspot_ynh), you can broadcast your VPN access by Wifi for using a clean internet connection (depending on your VPN provider) on your laptop (or those of your friends) without have to configure it. +* With the [Hotspot app for YunoHost](https://github.com/jvaubourg/hotspot_ynh), you can broadcast your VPN access by wifi to use a clean internet connection (depending on your VPN provider) on your laptop (or those of your friends) without having to configure it. This YunoHost app is a part of the "[La Brique Internet](http://labriqueinter.net)" project but can be used independently. diff --git a/conf/init_ynh-vpnclient b/conf/init_ynh-vpnclient index 85bf6f1..e2506e0 100644 --- a/conf/init_ynh-vpnclient +++ b/conf/init_ynh-vpnclient @@ -1,8 +1,10 @@ #!/bin/bash ### BEGIN INIT INFO # Provides: ynh-vpnclient -# Required-Start: $network $remote_fs $syslog ynh-hostspot +# Required-Start: $network $remote_fs $syslog yunohost-api # Required-Stop: $network $remote_fs $syslog +# Should-Start: ynh-hotspot +# Should-Stop: ynh-hotspot # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start VPN client. diff --git a/conf/nginx_vpnadmin.conf b/conf/nginx_vpnadmin.conf index 950bb4e..b3c1ef4 100644 --- a/conf/nginx_vpnadmin.conf +++ b/conf/nginx_vpnadmin.conf @@ -34,6 +34,7 @@ location { fastcgi_read_timeout 600; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; + fastcgi_param SCRIPT_FILENAME $request_filename; } include conf.d/yunohost_panel.conf.inc; diff --git a/sources/views/layout.html.php b/sources/views/layout.html.php index 56e9cc6..ba99543 100644 --- a/sources/views/layout.html.php +++ b/sources/views/layout.html.php @@ -24,7 +24,7 @@ - VPN Client <? echo (isset($title)) ? "| ".$title : "" ?> + <?= T_("VPN Client") ?><?= isset($title) ? " | $title" : '' ?> @@ -43,22 +43,22 @@
- + - + - + - + diff --git a/sources/views/settings.html.php b/sources/views/settings.html.php index eadaefd..c6cd3c2 100644 --- a/sources/views/settings.html.php +++ b/sources/views/settings.html.php @@ -45,7 +45,7 @@
- +
/>