Added dummy scripts that just write into logfiles
authorGregor Riepl <onitake@gmail.com>
Thu, 5 Aug 2010 14:01:54 +0000 (16:01 +0200)
committerGregor Riepl <onitake@gmail.com>
Thu, 5 Aug 2010 14:01:54 +0000 (16:01 +0200)
mtetherd-net-setup.sh
mtetherd-net-shutdown.sh

index e69de29..1b93cbc 100755 (executable)
@@ -0,0 +1,25 @@
+# mtetherd
+# (c) 2010 Gregor Riepl <onitake@gmail.com>
+# 
+# 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 <http://www.gnu.org/licenses/>.
+
+INTERFACE=$1
+ADDR=$2
+DHCP_START=$3
+DHCP_END=$4
+
+echo "$INTERFACE $ADDR $DHCP_START $DHCP_END" >> /tmp/mtetherd-net-setup.log
+
index e69de29..eb60d91 100755 (executable)
@@ -0,0 +1,22 @@
+# mtetherd
+# (c) 2010 Gregor Riepl <onitake@gmail.com>
+# 
+# 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 <http://www.gnu.org/licenses/>.
+
+INTERFACE=$1
+
+echo "$INTERFACE" >> /tmp/mtetherd-net-shutdown.log
+