From: Gregor Riepl Date: Thu, 5 Aug 2010 14:01:54 +0000 (+0200) Subject: Added dummy scripts that just write into logfiles X-Git-Url: http://vcs.maemo.org/git/?p=mtetherd;a=commitdiff_plain;h=5e75a7c87035ea70391eb652575203b19008d898 Added dummy scripts that just write into logfiles --- diff --git a/mtetherd-net-setup.sh b/mtetherd-net-setup.sh index e69de29..1b93cbc 100755 --- a/mtetherd-net-setup.sh +++ b/mtetherd-net-setup.sh @@ -0,0 +1,25 @@ +# mtetherd +# (c) 2010 Gregor Riepl +# +# Tethering utility for Maemo +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +INTERFACE=$1 +ADDR=$2 +DHCP_START=$3 +DHCP_END=$4 + +echo "$INTERFACE $ADDR $DHCP_START $DHCP_END" >> /tmp/mtetherd-net-setup.log + diff --git a/mtetherd-net-shutdown.sh b/mtetherd-net-shutdown.sh index e69de29..eb60d91 100755 --- a/mtetherd-net-shutdown.sh +++ b/mtetherd-net-shutdown.sh @@ -0,0 +1,22 @@ +# mtetherd +# (c) 2010 Gregor Riepl +# +# Tethering utility for Maemo +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +INTERFACE=$1 + +echo "$INTERFACE" >> /tmp/mtetherd-net-shutdown.log +