code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh dev_appserver.py --clear_datastore appengine/
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
Shell
#!/bin/sh #./ant/androguard_ant.py ./examples/android/Test/bin/classes/org/t0t0/android/ ./examples/android/Test/androguard.xml ./ant/androguard_ant.py ./examples/java/TC/orig/:./examples/java/TC/orig_main/ ./examples/java/TC/androguard.xml exit 0
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
Shell
#! /bin/bash # libtool - Provide generalized library-building support services. # Generated automatically by config.status (snappy) 1.0.1 # Libtool was configured on host destiny: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # ...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#! /bin/sh -e export PATH=/bin:/usr/bin # Local hack. rm -rf autom4te.cache aclocal -I m4 autoheader libtoolize --copy automake --add-missing --copy autoconf
Shell
#!/bin/sh # Bzgrep wrapped for bzip2, # adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. ## zgrep notice: ## zgrep -- a wrapper around a grep program that decompresses files as needed ## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca> PATH="/usr/bin:$PATH"; export PA...
Shell
#!/bin/sh # sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh # Bzcmp/diff wrapped for bzip2, # adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. # Bzcmp and bzdiff are used to invoke the cmp or the diff pro- # gram on compressed files. All options specified are passed #...
Shell
#!/bin/bash # see the README file for usage etc. # # ------------------------------------------------------------------ # This file is part of bzip2/libbzip2, a program and library for # lossless, block-sorting data compression. # # bzip2/libbzip2 version 1.0.6 of 6 September 2010 # Copyright (C) 1996-2010 Julian S...
Shell
#!/bin/sh # Bzmore wrapped for bzip2, # adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. PATH="/usr/bin:$PATH"; export PATH prog=`echo $0 | sed 's|.*/||'` case "$prog" in *less) more=less ;; *) more=more ;; esac if test "`echo -n a`" = "-n a"; then # looks like a SysV system: ...
Shell
#!/bin/sh ############################################################################### # # Author: Lasse Collin # # This file has been put into the public domain. # You can do whatever you want with this file. # ############################################################################### # If xz wasn't built, t...
Shell
#!/bin/sh ############################################################################### # # Author: Lasse Collin # # This file has been put into the public domain. # You can do whatever you want with this file. # ############################################################################### # If both xz and xzdec ...
Shell
#!/bin/bash # ############################################################################### # # Build a binary package on Windows with MinGW and MSYS # # Set the paths where MinGW, Mingw-w32, or MinGW-w64 are installed. If both # MinGW and MinGW-w32 are specified, MinGW-w32 will be used. If there is no # 32-bit or 64...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2006 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is fre...
Shell
# libtool (GNU libtool) 2.4 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even f...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2009-10-06.20; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software # Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under t...
Shell
#!/bin/sh # ############################################################################# # # Get the version string from version.h and print it out without # trailing newline. This makes it suitable for use in configure.ac. # ############################################################################# # # Author: Las...
Shell
#!/bin/sh # ############################################################################### # # Wrapper for GNU groff to convert man pages to a few formats # # Usage: manconv.sh FORMAT [PAPER_SIZE] < in.1 > out.suffix # # FORMAT can be ascii, utf8, ps, or pdf. PAPER_SIZE can be anything that # groff accepts, e.g. a4 or...
Shell
#!/bin/sh ############################################################################### # # Author: Lasse Collin # # This file has been put into the public domain. # You can do whatever you want with this file. # ############################################################################### # The result of using "...
Shell
#!/bin/bash # ############################################################################# # # 7z2lzma.bash is very primitive .7z to .lzma converter. The input file must # have exactly one LZMA compressed stream, which has been created with the # default lc, lp, and pb values. The CRC32 in the .7z archive is not check...
Shell
#!/bin/sh # copy from $Tomcat/bin/startup.sh # resolve links - $0 may be a softlink PRG="$0" while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fi done PRGDIR=`dirname "$PRG"` # _class...
Shell
#!/bin/sh # copy from $Tomcat/bin/startup.sh # resolve links - $0 may be a softlink PRG="$0" while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fi done PRGDIR=`dirname "$PRG"` # _class...
Shell
#!/bin/sh # copy from $Tomcat/bin/startup.sh # resolve links - $0 may be a softlink PRG="$0" while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fi done PRGDIR=`dirname "$PRG"` # _class...
Shell
#!/bin/sh # copy from $Tomcat/bin/startup.sh # resolve links - $0 may be a softlink PRG="$0" while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fi done PRGDIR=`dirname "$PRG"` # _class...
Shell
#!/bin/bash # # Copyright (c) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/bash ACTIVE_RECORD_PATH=../activerecord/bin LIBS="lib/junit-4.7.jar:\ lib/sqlitejdbc-v056.jar:\ lib/mysql-connector-java-5.1.16-bin.jar" CLASSES="\ davidlauzon.activerecord.StatementManagerTest \ davidlauzon.activerecord.connection.SqliteConnectionAdapterTest \ davidlauzon.activerecord.connection.MysqlConn...
Shell
#!/bin/bash ACTIVE_RECORD_PATH=../activerecord/bin LIBS="lib/junit-4.7.jar:\ lib/sqlitejdbc-v056.jar:\ lib/mysql-connector-java-5.1.16-bin.jar" CLASSES="\ davidlauzon.activerecord.StatementManagerTest \ " #java -cp bin:$LIBS:$ACTIVE_RECORD_PATH org.junit.runner.JUnitCore $CLASSES java -cp bin:lib/junit-4.7.jar:li...
Shell
#!/bin/bash ACTIVE_RECORD_PATH=../activerecord/bin LIBS="lib/junit-4.7.jar:\ lib/sqlitejdbc-v056.jar:\ lib/mysql-connector-java-5.1.16-bin.jar" CLASSES="\ davidlauzon.activerecord.StatementManagerTest \ davidlauzon.activerecord.connection.SqliteConnectionAdapterTest \ davidlauzon.activerecord.connection.MysqlConn...
Shell
#!/bin/bash ACTIVE_RECORD_PATH=../activerecord/bin LIBS="lib/junit-4.7.jar:\ lib/sqlitejdbc-v056.jar:\ lib/mysql-connector-java-5.1.16-bin.jar" CLASSES="\ davidlauzon.activerecord.StatementManagerTest \ " #java -cp bin:$LIBS:$ACTIVE_RECORD_PATH org.junit.runner.JUnitCore $CLASSES java -cp bin:lib/junit-4.7.jar:li...
Shell
#!/bin/bash function print_help { echo 'Usage: adwhirl [start_invoker|start_daemon|stop_invoker|stop_daemon|stop_all]' echo '' exit 1 } if [ $# -gt 1 ] || [ $# -eq 0 ]; then print_help fi command=$1 function start_invoker { ulimit -n 819200 java -server -Xms256m -Xmx1024m -cp adwhirl.jar Invoker...
Shell
#!/bin/sh if ps aux | grep -v grep | grep -v checkInvoker | grep -i adwhirl | grep -i Invoker > /dev/null then : else INSTANCE=`curl -s http://169.254.169.254/2007-03-01/meta-data/instance-id` HOSTNAME=`curl -s http://169.254.169.254/2007-03-01/meta-data/public-hostname` DATE=`date` echo -e "AdWhirl Invok...
Shell
#!/bin/sh if ps aux | grep -v grep | grep java | grep Daemon > /dev/null then : else echo "AdWhirl Daemon is down" | mail -s "**PROBLEM - AdWhirl Daemon is CRITICAL" jpincar@admob.com #page-adwhirl@admob-moat.pagerduty.com #page-adwhirl@yell.admob.com fi
Shell
#To build Android makefile: # CONFIG=release VARIANT=mali200-r2p2-gles11-gles20-linux-android-gingerbread-ump TARGET_TOOLCHAIN=arm-linux-gcc make export ANDROID_D=/dos/git/SPEAr1340 #export CCOMPILER=$ANDROID_D/prebuilt/linux-x86/toolchain/arm-eabi-4.3.0/bin/arm-eabi- export CCOMPILER=$ANDROID_D/prebuilt/linux-x...
Shell
#!/bin/sh CURR_PATH=`pwd` echo "Collect System Rootfs" cp -rf $CURR_PATH/data $CURR_PATH/root cp -rf $CURR_PATH/system $CURR_PATH/root cp -rf $CURR_PATH/symbols/data $CURR_PATH/root cp -rf $CURR_PATH/symbols/sbin $CURR_PATH/root cp -rf $CURR_PATH/symbols/system $CURR_PATH/root echo "Update System permission" chown ...
Shell
#!/system/xbin/sh cd /system/xbin ./busybox --install -s /system/xbin /xbin/sh ##For 1GB boards /system/xbin/busybox insmod /system/lib/modules/ump.ko ump_debug_level=2 ump_memory_address=0x3C000000 ump_memory_size=0x03000000 /system/xbin/busybox insmod /system/lib/modules/mali.ko mali_debug_level=2 mali_memory_addr...
Shell
# # Copyright (C) 2008 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
Shell
#!/bin/bash var0=`ps aux|awk '/dhclient wlan0/'|awk '$11!="awk"{print $2}'` kill $var0 cp ifcfg-wlan0 /etc/sysconfig/network-scripts/ dhclient wlan0 var1=`ifconfig wlan0 |awk '/inet/{print $2}'|awk -F: '{print $2}'` rm -f /etc/sysconfig/network-scripts/ifcfg-wlan0 echo "get ip: $var1"
Shell
#!/bin/bash if [ "`which iwconfig`" = "" ] ; then echo "WARNING:Wireless tool not exist!" echo " Please install it!" exit else if [ `uname -r | cut -d. -f2` -eq 4 ]; then wpa_supplicant -D ipw -c wpa1.conf -i wlan0 else if [ `iwconfig -v |awk '{print $4}' | head -n 1` -lt 18 ] ; then wpa_supplicant...
Shell
#!/bin/bash rmmod r8192s_usb rmmod ieee80211_rsl rmmod ieee80211_crypt_ccmp rmmod ieee80211_crypt_tkip rmmod ieee80211_crypt_wep rmmod ieee80211_crypt
Shell
#!/bin/bash function print_help { echo 'Usage: adwhirl [start_invoker|start_daemon|stop_invoker|stop_daemon|stop_all]' echo '' exit 1 } if [ $# -gt 1 ] || [ $# -eq 0 ]; then print_help fi command=$1 function start_invoker { ulimit -n 819200 java -server -Xms256m -Xmx1024m -cp adwhirl.jar Invoker...
Shell
#!/bin/sh if ps aux | grep -v grep | grep -v checkInvoker | grep -i adwhirl | grep -i Invoker > /dev/null then : else INSTANCE=`curl -s http://169.254.169.254/2007-03-01/meta-data/instance-id` HOSTNAME=`curl -s http://169.254.169.254/2007-03-01/meta-data/public-hostname` DATE=`date` echo -e "AdWhirl Invok...
Shell
#!/bin/sh if ps aux | grep -v grep | grep java | grep Daemon > /dev/null then : else echo "AdWhirl Daemon is down" | mail -s "**PROBLEM - AdWhirl Daemon is CRITICAL" jpincar@admob.com #page-adwhirl@admob-moat.pagerduty.com #page-adwhirl@yell.admob.com fi
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops in the process of doing a # commit. Subversion runs this hook by invoking a program (script, # executable, binary, etc.) named 'start-commit' (for which this fi...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops in the process of doing a # commit. Subversion runs this hook by invoking a program (script, # executable, binary, etc.) named 'start-commit' (for which this fi...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/system/bin/sh # @Version=1 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) tetherlog=/data/data/android.tether/var/tether.log mac_whitelist=/data/data/android.tether/conf/whitelist_mac.conf dnsmasq_pidfile=/data/data/android.tether/var/dnsmasq.pid dnsmasq_leasefile=/data/data/android.tether/var/...
Shell
#!/system/bin/sh # @Version=1 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) tetherlog=/data/data/android.tether/var/tether.log mac_whitelist=/data/data/android.tether/conf/whitelist_mac.conf dnsmasq_pidfile=/data/data/android.tether/var/dnsmasq.pid dnsmasq_leasefile=/data/data/android.tether/var/...
Shell
#!/system/bin/sh # @Version=3 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) tetherlog=/data/data/android.tether/var/tether.log mac_whitelist=/data/data/android.tether/conf/whitelist_mac.conf dnsmasq_pidfile=/data/data/android.tether/var/dnsmasq.pid dnsmasq_leasefile=/data/data/android.tether/var/...
Shell
#!/system/bin/sh # @Version=3 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) tetherlog=/data/data/android.tether/var/tether.log mac_whitelist=/data/data/android.tether/conf/whitelist_mac.conf dnsmasq_pidfile=/data/data/android.tether/var/dnsmasq.pid dnsmasq_leasefile=/data/data/android.tether/var/...
Shell
#!/system/bin/sh tetherlog=/data/data/android.tether/var/tether.log mac_whitelist=/data/data/android.tether/conf/whitelist_mac.conf dnsmasq_pidfile=/data/data/android.tether/var/dnsmasq.pid startwifi() { ## Loading wlan-module echo "<div class='date'>" >> $tetherlog date +"%d.%m.%y %T" >> $tetherlog echo "</div>"...
Shell
#!/system/bin/sh tetherlog=/data/data/android.tether/var/tether.log mac_whitelist=/data/data/android.tether/conf/whitelist_mac.conf dnsmasq_pidfile=/data/data/android.tether/var/dnsmasq.pid startwifi() { ## Loading wlan-module echo "<div class='date'>" >> $tetherlog date +"%d.%m.%y %T" >> $tetherlog echo "</div>"...
Shell
#!/system/bin/sh # @Version=18 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) dir=/data/data/android.tether tetherlog="$dir"/var/tether.log mac_whitelist="$dir"/conf/whitelist_mac.conf dnsmasq_pidfile="$dir"/var/dnsmasq.pid dnsmasq_leasefile="$dir"/var/dnsmasq.leases dnsmasq="$dir"/bin/dnsmasq dns...
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep0 >> $tetherlog 2>> $tetherlog
Shell
#!/system/bin/sh # @Version=18 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) dir=/data/data/android.tether tetherlog="$dir"/var/tether.log mac_whitelist="$dir"/conf/whitelist_mac.conf dnsmasq_pidfile="$dir"/var/dnsmasq.pid dnsmasq_leasefile="$dir"/var/dnsmasq.leases dnsmasq="$dir"/bin/dnsmasq dns...
Shell
#!/system/bin/sh # blue-down.sh ifconfig bnep0 down
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep0 >> $tetherlog 2>> $tetherlog
Shell
#!/system/bin/sh # blue-down.sh ifconfig bnep0 down
Shell
#!/system/bin/sh # @Version=10 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) dir="$(pwd)" tetherlog="$dir"/var/tether.log mac_whitelist="$dir"/conf/whitelist_mac.conf dnsmasq_pidfile="$dir"/var/dnsmasq.pid dnsmasq_leasefile="$dir"/var/dnsmasq.leases dnsmasq="$dir"/bin/dnsmasq dnsmasq_conf="$dir"/...
Shell
#!/system/bin/sh # @Version=10 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) dir="$(pwd)" tetherlog="$dir"/var/tether.log mac_whitelist="$dir"/conf/whitelist_mac.conf dnsmasq_pidfile="$dir"/var/dnsmasq.pid dnsmasq_leasefile="$dir"/var/dnsmasq.leases dnsmasq="$dir"/bin/dnsmasq dnsmasq_conf="$dir"/...
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --resolv-file=$tetherpath/conf/resolv.conf --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep0 >> $tetherlog ...
Shell
#!/system/bin/sh # blue-down.sh ifconfig bnep0 down
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --resolv-file=$tetherpath/conf/resolv.conf --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep0 >> $tetherlog ...
Shell
#!/system/bin/sh # blue-down.sh ifconfig bnep0 down
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log $tetherpath/bin/ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --resolv-file=$tetherpath/conf/resolv.conf --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep...
Shell
#!/system/bin/sh # blue-down.sh /data/data/android.tether/bin/ifconfig bnep0 down
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log $tetherpath/bin/ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --resolv-file=$tetherpath/conf/resolv.conf --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep...
Shell
#!/system/bin/sh # blue-down.sh /data/data/android.tether/bin/ifconfig bnep0 down
Shell
#!/system/bin/sh # @Version=16 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) dir=/data/data/android.tether tetherlog="$dir"/var/tether.log mac_whitelist="$dir"/conf/whitelist_mac.conf dnsmasq_pidfile="$dir"/var/dnsmasq.pid dnsmasq_leasefile="$dir"/var/dnsmasq.leases dnsmasq="$dir"/bin/dnsmasq dns...
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep0 >> $tetherlog 2>> $tetherlog
Shell
#!/system/bin/sh # @Version=16 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) dir=/data/data/android.tether tetherlog="$dir"/var/tether.log mac_whitelist="$dir"/conf/whitelist_mac.conf dnsmasq_pidfile="$dir"/var/dnsmasq.pid dnsmasq_leasefile="$dir"/var/dnsmasq.leases dnsmasq="$dir"/bin/dnsmasq dns...
Shell
#!/system/bin/sh # blue-down.sh ifconfig bnep0 down
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep0 >> $tetherlog 2>> $tetherlog
Shell
#!/system/bin/sh # blue-down.sh ifconfig bnep0 down
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --resolv-file=$tetherpath/conf/resolv.conf --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep0 >> $tetherlog ...
Shell
#!/system/bin/sh # blue-down.sh ifconfig bnep0 down
Shell
#!/system/bin/sh # blue-up.sh tetherpath=/data/data/android.tether tetherlog=$tetherpath/var/tether.log ifconfig bnep0 192.168.2.254 netmask 255.255.255.0 up >> $tetherlog 2>> $tetherlog $tetherpath/bin/dnsmasq --resolv-file=$tetherpath/conf/resolv.conf --conf-file=$tetherpath/conf/dnsmasq.conf -i bnep0 >> $tetherlog ...
Shell
#!/system/bin/sh # blue-down.sh ifconfig bnep0 down
Shell