code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# Copyright 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 applicabl... | Shell |
#!/bin/bash
#
# Copyright 2005-2006, 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 ... | Shell |
#!/bin/sh
# Copyright 2005-2007, 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 appl... | Shell |
#!/bin/sh
# Copyright 2005-2007, 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 appl... | Shell |
# /* vim: set ai ts=4 ft=sh: */
#
# Copyright 2011, 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
#
# Unle... | Shell |
#!/bin/sh
# Copyright 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 applicabl... | Shell |
#!/bin/sh
# Copyright 2005-2007, 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 appl... | Shell |
#!/bin/sh
# Copyright 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 applicabl... | Shell |
#!/bin/bash
# Copyright 2005-2007, 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 ap... | Shell |
#!/bin/sh
# Copyright 2005-2007, 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 appl... | 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/bash
#Edit files on your phone like editing local files
#Copyright 2013 broodplank.net
#Revision 3
if [[ $1 = "" ]]; then
echo "usage: remedit [remote path]"
echo " example: remedit /system/build.prop"
exit
else
DIR=${1%/*}
FILE=${1##*/}
fi;
if [[ -e mode ]]; then
rm -f mode
fi;
adb get-state > state
... | Shell |
#!/bin/bash
clear
echo " "
echo "Setting Variables"
echo " "
export ARCH=arm
export CROSS_COMPILE=arm-cortex_a8-linux-gnueabi-
export PATH=$PATH:~/toolchains/linaro/bin/
echo " "
echo "Make clean..."
echo " "
make clean
echo " "
echo "Make kernel..."
echo " "
make -j8
echo " "
echo "Done!"
echo " "
| Shell |
#!/bin/bash
echo " "
echo "Setting Variables"
export ARCH=arm
echo " "
echo "Checking for .config"
if [ -e .config ]; then
echo " "
echo ".config found, launching xconfig"
make xconfig
else
echo " "
echo ".config not found, running make ariesve_defconfig"
make ariesve_defconfig
make xconfig
fi;
| Shell |
#!/bin/bash
clear
echo " "
echo "Setting Variables"
echo " "
export ARCH=arm
export CROSS_COMPILE=arm-cortex_a8-linux-gnueabi-
export PATH=$PATH:~/toolchains/linaro/bin/
echo " "
echo "Make kernel..."
echo " "
make -j8
echo " "
echo "Done!"
echo " "
| Shell |
#!/bin/bash
clear
echo " "
echo "Building boot.img for 4.1.x"
echo " "
echo "Cleaning possible previous remains"
rm -f build/4.1.x/zImage
rm -f build/4.1.x/boot.img-ramdisk/lib/modules/dhd.ko
rm -f build/4.1.x/boot.img-ramdisk/lib/modules/cifs.ko
rm -f build/4.1.x/ramdisk.gz
echo "Copying zImage and modules"
cp arch... | Shell |
#!/bin/bash
ShowMenu () {
clear
echo "What version do you want to flash?"
echo "WARNING: ARIESVE/ANCORA ONLY (mmcblk0p8)"
echo " "
echo " "
echo "Please make your choice:"
echo " "
echo " [1] JellyBean v4.1.x"
echo " [2] JellyBean v4.2.x"
echo " "
echo " [x] Exit"
echo " "
}
while [ 1 ]
do
ShowMenu
read CHOICE
cas... | Shell |
#1/bin/bash
javadoc -author -linkoffline http://d.android.com/reference file:/usr/local/android-sdk-linux_86/docs/reference -classpath /usr/local/android-sdk-linux_86/platforms/android-4/android.jar -d javadocs/ -sourcepath `find . -name *.java`
| Shell |
#!/bin/sh
echo
echo "JDOM Build System"
echo "-------------------"
echo
if [ "$JAVA_HOME" = "" ] ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit 1
f... | Shell |
#!/bin/sh
echo
echo "JDOM Build System"
echo "-------------------"
echo
if [ "$JAVA_HOME" = "" ] ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit 1
f... | Shell |
#!/bin/sh
echo
echo "JDOM Build System"
echo "-------------------"
echo
if [ "$JAVA_HOME" = "" ] ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit 1
f... | Shell |
#!/bin/sh
echo
echo "JDOM Build System"
echo "-------------------"
echo
if [ "$JAVA_HOME" = "" ] ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit 1
f... | Shell |
#!/bin/sh
echo
echo "JDOM Build System"
echo "-------------------"
echo
if [ "$JAVA_HOME" = "" ] ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit 1
f... | Shell |
#!/bin/sh
echo
echo "JDOM Build System"
echo "-------------------"
echo
if [ "$JAVA_HOME" = "" ] ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit 1
f... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 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 published by
# the Free Software Foundation; either ve... | 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 |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This pro... | Shell |
#!/bin/sh
echo "Beware: script intented to developers: unsupported!"
cp tiemup.desktop /usr/share/applications
cp x-tiemu-*.desktop /usr/share/mimelnk/application
echo "Files copied." | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
i386-mingw32-gcc -Os -s -fno-exceptions oletest.c tiemuole.c -lole32 -loleaut32 -luuid -o oletest.exe
| Shell |
#!/bin/sh
g++ -Os -s -fno-exceptions -I$QTDIR/include -I/usr/include/kde dcoptest.cpp tiemu_stub.cpp -L$QTDIR/lib -lqt-mt -L`kde-config --prefix`/lib`kde-config --libsuffix`/kde3 -lkdecore -lkio -o dcoptest
| Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | 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
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
# Copyright 1999, 2000 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 the terms of the GNU General Public License as published by
# the F... | Shell |
#!/bin/bash
#
# Copyright (C) 2007 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 ap... | Shell |
#!/bin/bash
#
# Copyright (C) 2007 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 ap... | Shell |
#!/bin/sh
javac -cp ../orig: Demo1Main.java
exit 0
| Shell |
#!/bin/sh
javac Util.java
javac Registry.java
javac Properties.java
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Demo1Main
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2:../libs/GMC.jar:./ -Djava.library.path=../libs/ TCMain
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: TCMain
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Test
exit 0
| 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/bash
PATCH_FILE=donate.patch
FOLDER=android/jni/include
if [ "$1" == "-r" ] || [ "$1" == "-R" ]
then
svn revert -R android/ 2>&1
rm $FOLDER/org_exobel_routerkeygen_donate_NativeThomson.h 2>&1
rm $FOLDER/org_exobel_routerkeygen_donate_ThomsonKeygen.h 2>&1
echo "Changes reversed"
exit
fi
if [ -f "$PAT... | Shell |
#!/bin/bash
PATCH_FILE=donate.patch
FOLDER=android/jni/include
if [ "$1" == "-r" ] || [ "$1" == "-R" ]
then
svn revert -R android/ 2>&1
rm $FOLDER/org_exobel_routerkeygen_donate_NativeThomson.h 2>&1
rm $FOLDER/org_exobel_routerkeygen_donate_ThomsonKeygen.h 2>&1
echo "Changes reversed"
exit
fi
if [ -f "$PAT... | Shell |
scrapy crawl soccerway -s JOBDIR=crawls/soccerway
#scrapy crawl soccerway_update -s JOBDIR=crawls/soccerway_update | Shell |
#!/bin/sh
# Copyright 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 ... | Shell |
#!/bin/sh
# Copyright 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 ... | Shell |
#!/bin/bash
#
# Copyright 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 ... | 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-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
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=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
# 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-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
# @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
while true; do
sleep 2
/data/data/android.tether/bin/iwconfig $1 | while read l; do
case "$l" in *ESSID*)
case "$l" in *\"$2\"*)
break;
esac;
/data/data/android.tether/bin/iwconfig $1 mode Ad-Hoc
/data/data/android.tether/bin/iwconfig $1 essid $2
/data/data/android.tether/bin/i... | Shell |
#!/system/bin/sh
while true; do
sleep 2
/data/data/android.tether/bin/iwconfig $1 | while read l; do
case "$l" in *ESSID*)
case "$l" in *\"$2\"*)
break;
esac;
/data/data/android.tether/bin/iwconfig $1 mode Ad-Hoc
/data/data/android.tether/bin/iwconfig $1 essid $2
/data/data/android.tether/bin/i... | 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-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-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-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
# @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
$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-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-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-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
# @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=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
while true; do
sleep 2
/data/data/com.googlecode.android.wifi.tether/bin/iwconfig $1 | while read l; do
case "$l" in *ESSID*)
case "$l" in *\"$2\"*)
break;
esac;
/data/data/com.googlecode.android.wifi.tether/bin/iwconfig $1 mode Ad-Hoc
/data/data/com.googlecode.android.wifi.tether... | Shell |
#!/system/bin/sh
while true; do
sleep 2
/data/data/com.googlecode.android.wifi.tether/bin/iwconfig $1 | while read l; do
case "$l" in *ESSID*)
case "$l" in *\"$2\"*)
break;
esac;
/data/data/com.googlecode.android.wifi.tether/bin/iwconfig $1 mode Ad-Hoc
/data/data/com.googlecode.android.wifi.tether... | 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 |
#!/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 |
#!/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 |
#!/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
#
# Copyright 2010-present Facebook.
#
# 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 agr... | Shell |
#!/bin/sh
#
# Copyright 2010-present Facebook.
#
# 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 agr... | 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 |
#!/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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.