Add enable/disable feature

This commit is contained in:
Julien VAUBOURG
2015-03-18 21:34:26 +01:00
parent 447042893a
commit c1a4265a2c
9 changed files with 185 additions and 89 deletions

View File

@@ -91,6 +91,7 @@ if [ $? -ne 0 ]; then
fi
# Save arguments
sudo yunohost app setting vpnclient service_enabled -v 1
sudo yunohost app setting vpnclient server_name -v "${server_name}"
sudo yunohost app setting vpnclient server_port -v 1194
sudo yunohost app setting vpnclient server_proto -v udp