Add license headers

This commit is contained in:
Julien VAUBOURG
2014-12-26 20:18:24 +01:00
parent e555457018
commit 2b1c541caa
15 changed files with 280 additions and 85 deletions

View File

@@ -9,6 +9,23 @@
# Description: Start VPN client.
### END INIT INFO
# VPN Client app for YunoHost
# Copyright (C) 2015 Julien Vaubourg <julien@vaubourg.com>
# Contribute at https://github.com/jvaubourg/vpnclient_ynh
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Functions
## State functions
@@ -268,7 +285,7 @@ case "${1}" in
;;
stop)
echo "[vpnclient] Stopping..."
rm /tmp/.ynh-vpnclient-started
rm -f /tmp/.ynh-vpnclient-started
if ! has_hotspot_app && has_ip6delegatedprefix && is_ip6addr_set; then
echo "Unset IPv6 address"