code
stringlengths
1
1.96M
language
stringclasses
1 value
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
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 before a Subversion txn is created # 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 file is a template) # with the following ordered...
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
#!/bin/bash javac com/darshancomputing/BatteryIndicatorPro/Test.java && java com.darshancomputing.BatteryIndicatorPro.Test
Shell
#!/bin/sh # After initial checkout from svn, you'll want to run this as your first step. android update project --path . --name "BatteryBot" --target "android-21"
Shell
#!/bin/sh scp -q res/values/strings.xml linode:ath/incoming/en.xml wget --quiet -O /dev/null --ignore-length --post-data="" http://ath.darshancomputing.com/bi/load_new_en if [ "$?" -ne "0" ]; then echo "Sorry, something didn't work!" exit 1 fi
Shell
#!/bin/bash #ruby generate_images.rb #for i in res/drawable/b[0-9]*.png; do mogrify -resize 25x25 $i; done #gimp res/drawable/b100.png #for i in res/drawable/*.png; do mogrify -sharpen 25x25 $i; done # shift ("roll") images 1px to the right # for i in numbers/*.png; do convert $i -roll +1+0 $i; done d=`dirname $(rea...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/sh /usr/local/appengine-java-sdk/bin/appcfg.sh update web-app
Shell
#!/bin/sh # To use this script install the Google App Engine SDK for Java in the directory # /usr/local/appengine-java-sdk /usr/local/appengine-java-sdk/bin/dev_appserver.sh --address=0.0.0.0 web-app
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
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 # 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-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-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-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-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 # 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-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 # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
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 # 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 # 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 # 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 # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
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 # 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-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-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-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-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 # 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-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 # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
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 # 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 # 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 # 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/bash /usr/bin/killall fbi /usr/bin/fbi -a -noverbose -T 4 -l /root/akilliev/resimler.txt -t 3
Shell
#!/bin/bash nereden='/media/160gb/tor/' nereye='/media/160gb/biten' /usr/bin/find $nereden -type f -name "*.mp4" -print0 | /usr/bin/xargs -0 /bin/mv -t $nereye /usr/bin/find $nereden -type f -name "*.avi" -print0 | /usr/bin/xargs -0 /bin/mv -t $nereye /usr/bin/find $nereden -type f -name "*.mkv" -print0 | /usr/bin/xa...
Shell
#!/bin/bash /bin/rmdir /media/scan16 /usr/bin/find /media/scan16 -name "*.mp4" -delete /usr/bin/find /media/scan16 -name "*.avi" -delete /usr/bin/find /media/scan16 -name "*.srt" -delete /usr/bin/find /media/scan16 -name "*.mkv" -delete /usr/bin/find /media/scan16 -type d -empty -delete /usr/bin/find /media/250gb/B...
Shell
#!/bin/bash /bin/rmdir /media/hilevel /usr/bin/find /media/hilevel -name "*.mp4" -delete /usr/bin/find /media/hilevel -name "*.avi" -delete /usr/bin/find /media/hilevel -name "*.srt" -delete /usr/bin/find /media/hilevel -name "*.mkv" -delete /usr/bin/find /media/hilevel -type d -empty -delete /usr/bin/find /media/25...
Shell
#!/bin/bash sleep 2 sdBulma=`/sbin/fdisk -l | /bin/grep -A 3 "0x8fbbd7ff" | /usr/bin/tail -1 | /usr/bin/awk -F/ '{print $3}' | /usr/bin/awk -F ' ' '{print $1}'` fsb=`/sbin/fdisk -l | /bin/grep -A 3 "0x8fbbd7ff" | /usr/bin/tail -1 | /usr/bin/awk -F ' ' '{print $6}'` echo $sdBulma echo $fsb if [ "$fsb" == "FAT32" ]; ...
Shell
#!/bin/bash sleep 2 sdBulma=`/sbin/fdisk -l | /bin/grep -A 3 "0x0009ccc3" | /usr/bin/tail -1 | /usr/bin/awk -F/ '{print $3}' | /usr/bin/awk -F ' ' '{print $1}'` fsb=`/sbin/fdisk -l | /bin/grep -A 3 "0x0009ccc3" | /usr/bin/tail -1 | /usr/bin/awk -F ' ' '{print $8}'` mntp=scan8 if [ -z "$sdBulma" ]; then sdBulma=`/sb...
Shell
#!/bin/bash sleep 2 sdBulma=`/sbin/fdisk -l | /bin/grep -A 3 "0x00014d34" | /usr/bin/tail -1 | /usr/bin/awk -F/ '{print $3}' | /usr/bin/awk -F ' ' '{print $1}'` fsb=`/sbin/fdisk -l | /bin/grep -A 3 "0x00014d34" | /usr/bin/tail -1 | /usr/bin/awk -F ' ' '{print $6}'` echo $sdBulma echo $fsb if [ "$fsb" == "FAT32" ]; ...
Shell
#!/bin/bash sleep 10 /usr/bin/logger 5 sn bekledikten sonracalisti dev bilgi aliniyor sdBulma=`/sbin/fdisk -l | /bin/grep -A 3 "0x6843efcc" | /usr/bin/tail -1 | /usr/bin/awk -F/ '{print $3}' | /usr/bin/awk -F ' ' '{print $1}'` /usr/bin/logger fs bilgisi aliniyor fsb=`/sbin/fdisk -l | /bin/grep -A 3 "0x6843efcc" | /us...
Shell
#!/bin/bash rm /root/akilliev/log/cp.log rm /root/akilliev/log/mv.log /bin/ps -ef | /bin/grep cp | /usr/bin/wc -l > /root/akilliev/log/cp.log /bin/ps -ef | /bin/grep mv | /usr/bin/wc -l > /root/akilliev/log/mv.log
Shell
#!/bin/bash sleep 2 sdBulma=`/sbin/fdisk -l | /bin/grep -A 3 "0xb81fa6be" | /usr/bin/tail -1 | /usr/bin/awk -F/ '{print $3}' | /usr/bin/awk -F ' ' '{print $1}'` fsb=`/sbin/fdisk -l | /bin/grep -A 3 "0xb81fa6be" | /usr/bin/tail -1 | /usr/bin/awk -F ' ' '{print $6}'` echo $sdBulma echo $fsb if [ "$fsb" == "FAT32" ]; ...
Shell
#!/bin/bash sleep 2 sdBulma=`/sbin/fdisk -l | /bin/grep -A 3 "0x0faba2d9" | /usr/bin/tail -1 | /usr/bin/awk -F/ '{print $3}' | /usr/bin/awk -F ' ' '{print $1}'` fsb=`/sbin/fdisk -l | /bin/grep -A 3 "0x0faba2d9" | /usr/bin/tail -1 | /usr/bin/awk -F ' ' '{print $6}'` echo $sdBulma echo $fsb if [ -z "$fsb" ]; then fsb...
Shell
#!/bin/bash sleep 2 sdBulma=`/sbin/fdisk -l | /bin/grep -A 3 "0x0009ccc3" | /usr/bin/tail -1 | /usr/bin/awk -F/ '{print $3}' | /usr/bin/awk -F ' ' '{print $1}'` fsb=`/sbin/fdisk -l | /bin/grep -A 3 "0x0009ccc3" | /usr/bin/tail -1 | /usr/bin/awk -F ' ' '{print $8}'` mntp=scan8 if [ -z "$sdBulma" ]; then sdBulma=`/sb...
Shell
#!/bin/bash if [ ! -e /dev/ete_sanz ]; then echo scan /bin/umount /media/scan16 /bin/rmdir /media/scan16 fi if [ ! -e /dev/ete_hile ]; then echo hi /bin/umount /media/hilevel /bin/rmdir /media/hilevel fi if [ ! -e /dev/ete_d500 ]; then /bin/umount /media/500gb /bin/rmdir /med...
Shell
#!/bin/bash cputemp=`cat /sys/class/thermal/thermal_zone0/temp` cputemp=$(( $cputemp / 1000 )) echo $cputemp
Shell
#!/bin/bash sleep 2 sdBulma=`/sbin/fdisk -l | /bin/grep -A 3 "0x8fbbd7ff" | /usr/bin/tail -1 | /usr/bin/awk -F/ '{print $3}' | /usr/bin/awk -F ' ' '{print $1}'` fsb=`/sbin/fdisk -l | /bin/grep -A 3 "0x8fbbd7ff" | /usr/bin/tail -1 | /usr/bin/awk -F ' ' '{print $6}'` echo $sdBulma echo $fsb if [ "$fsb" == "FAT32" ]; ...
Shell
#!/bin/bash /bin/rm dh*.* /usr/bin/wget http://192.168.2.232/dh.txt nem=`/bin/cat h.txt | /usr/bin/awk -F ',' '{print $2}'` sic=`/bin/cat h.txt | /usr/bin/awk -F ',' '{print $1}'` ses=`/bin/cat s.txt | /usr/bin/awk -F ',' '{print $1}'` dsic=`/bin/cat /root/dh.txt | /usr/bin/awk -F '.' '{print $1}'` saat=`date +"%T %...
Shell
#!/bin/bash sv=0 for (( i=0; i<50; i++ )); do sk=`/usr/local/bin/gpio read 1` if [ "$sk" == 1 ]; then sv=$(( $sv + 1 )) fi /bin/sleep 0.5 done if [ "$sv" -ge 8 ]; then echo on > /root/akilliev/s.txt else echo off > /root/akilliev/s.txt fi `/bin/cp /root/s.txt /var/www`
Shell
#!/bin/bash /bin/rm dh.txt /usr/bin/wget http://192.168.2.232/dh.txt while : do tmp=$(/root/temphum 11 27 | tail -1 | /usr/bin/awk -F ' ' '{print $1" "$3" "$7}') tmp1=`echo $tmp | /usr/bin/awk -F ' ' '{print $1}'` tmp2=`echo $tmp | /usr/bin/awk -F ' ' '{print $2}'` tmp3=`echo $tmp | /usr/bin/awk -F ' ' '{print $3}...
Shell
#!/bin/bash /usr/bin/killall fbi /usr/bin/fbi /root/akilliev/resim/orj/reboot.jpg -a -noverbose -T 4 /usr/bin/python /root/akilliev/lcd/lcdreboot.py
Shell
#!/bin/bash netice=`/bin/ping -c 1 -W 5 192.168.2.1 | /bin/grep "transmitted"| /usr/bin/awk -F ',' '{ print $2 }' | /usr/bin/awk -F ' ' '{ print $1 }'` if [ $netice -eq 1 ] then #echo "hedefe ulasiliyor, ellesme" /bin/echo "IP1" > /root/akilliev/log/ip.log #z=`/bin/cat /sys/bus/w1/devices/28-000002c5740b/w1_slave | /...
Shell
#!/bin/bash pk=`/bin/ps -ef | /bin/grep netio | /usr/bin/wc -l` echo $pk if [ "$pk" == 1 ]; then echo bi daha calistir da /usr/bin/python /root/akilliev/RPi.GPIO-0.5.3a/source/netio_server.py & fi
Shell
#!/bin/sh iperf -c $1 -f M | tail -n 1 | awk -F 'MBytes ' '{print $2}' | cut -f 1 -d " " exit 0
Shell
#!/bin/bash # log dosya yolu logtemphum='/root/akilliev/log/temphum.txt' # gecici dosyanin kopyalanacagi yer (web icin) wlog='/var/www/log' # DHT surucu(uygulamasinin) yolu app='/root/akilliev/sicaklik/temphum ' # donguden cikmak icin kullanilacak degisken i=1 while : do i=$(($i+1)) if [ "$i" = 8 ]; then echo $i...
Shell
#!/bin/bash # log dosya yolu logtemphum='/root/akilliev/log/temphum.txt' # gecici dosyanin kopyalanacagi yer (web icin) wlog='/var/www/log' # DHT surucu(uygulamasinin) yolu app='/root/akilliev/sicaklik/temphum ' # donguden cikmak icin kullanilacak degisken i=1 while : do i=$(($i+1)) if [ "$i" = 8 ]; then echo $i...
Shell
#!/bin/bash # log dosya yolu logtemphum='/root/akilliev/log/pressure.txt' # gecici dosyanin kopyalanacagi yer (web icin) wlog='/var/www/log' # BMP085 app=`/usr/bin/python /root/akilliev/sicaklik/BMP085.py` echo $app while : do tmp1=`echo $app | /usr/bin/awk -F ' ' '{print $1}'` if [ ! -z "$tmp1" ]; then # echo $...
Shell
#!/bin/bash rrdtool create homebmp.rrd --start N --step 300 \ DS:temp:GAUGE:600:U:U \ DS:pressure:GAUGE:600:U:U \ DS:altutide:GAUGE:600:U:U \ RRA:AVERAGE:0.5:1:12 \ RRA:AVERAGE:0.5:1:288 \ RRA:AVERAGE:0.5:12:168 \ RRA:AVERAGE:0.5:12:720 \ RRA:AVERAGE:0.5:288:365
Shell
#!/bin/bash DIR="/root/akilliev/sicaklik/rrd" #set to C if using Celsius TEMP_SCALE="C" #define the desired colors for the graphs INTEMP_COLOR="#CC0000" OUTTEMP_COLOR="#0000FF" OUTTEMP_COLOR1="#00FF00" gw=500 gh=340 #hourly rrdtool graph -w $gw -h $gh $DIR/temp_hourly.png --start -4h \ DEF:temp=$DIR/hometemp.rr...
Shell
#!/bin/bash DIR="/root/akilliev/sicaklik/rrd" #set to C if using Celsius TEMP_SCALE="C" #define the desired colors for the graphs INTEMP_COLOR="#CC0000" OUTTEMP_COLOR="#0000FF" OUTTEMP_COLOR1="#00FF00" gw=500 gh=340 #hourly rrdtool graph -w $gw -h $gh $DIR/bmp_hourly.png --start -4h \ DEF:temp=$DIR/homebmp.rrd:...
Shell
#!/bin/bash DIR="/root/akilliev/sicaklik/rrd" #set to C if using Celsius TEMP_SCALE="C" #define the desired colors for the graphs INTEMP_COLOR="#CC0000" OUTTEMP_COLOR="#0000FF" OUTTEMP_COLOR1="#00FF00" gw=500 gh=340 #hourly rrdtool graph -w $gw -h $gh $DIR/hum_hourly.png --start -4h \ DEF:outtemp=$DIR/hometemp....
Shell
#!/bin/bash rrdtool create hometemp.rrd --start N --step 300 \ DS:temp:GAUGE:600:U:U \ DS:outtemp:GAUGE:600:U:U \ DS:outtemp1:GAUGE:600:U:U \ RRA:AVERAGE:0.5:1:12 \ RRA:AVERAGE:0.5:1:288 \ RRA:AVERAGE:0.5:12:168 \ RRA:AVERAGE:0.5:12:720 \ RRA:AVERAGE:0.5:288:365
Shell
#!/bin/bash DIR="/root/akilliev/sicaklik/rrd" #set to C if using Celsius TEMP_SCALE="C" #define the desired colors for the graphs INTEMP_COLOR="#CC0000" OUTTEMP_COLOR="#0000FF" OUTTEMP_COLOR1="#00FF00" gw=550 gh=240 #hourly rrdtool graph -w $gw -h $gh $DIR/temp_hourly.png --start -4h \ DEF:temp=$DIR/hometemp.rrd...
Shell
#!/bin/bash DIR="/root/akilliev/sicaklik/rrd" #set to C if using Celsius TEMP_SCALE="C" #define the desired colors for the graphs INTEMP_COLOR="#CC0000" OUTTEMP_COLOR="#0000FF" OUTTEMP_COLOR1="#00FF00" gw=550 gh=340 #hourly rrdtool graph -w $gw -h $gh $DIR/t_hourly.png --start -4h \ DEF:temp=$DIR/hometemp.rrd:t...
Shell
#!/bin/bash gpdurum=`gpio read 7` if [ "$gpdurum" == 0 ] ; then echo "zifirmis" gpio write 7 1 sleep 1 gpio write 7 0 echo "1 sn kadar actik kapadik" else echo "1 idi" gpio write 7 0 fi
Shell
#!/bin/bash /usr/local/bin/gpio mode 0 out /usr/local/bin/gpio write 0 1 /bin/sleep 1 /usr/local/bin/gpio write 0 0
Shell
#!/bin/bash while [ 1 ] do j=`python usonic.py` python /root/akilliev/lcd/l.py $j 2 sleep 0.3 done
Shell
#!/bin/bash netice=`/bin/ping -c 1 -W 5 8.8.8.8 | /bin/grep "transmitted"| /usr/bin/awk -F ',' '{ print $2 }' | /usr/bin/awk -F ' ' '{ print $1 }'` if [ $netice -eq 1 ] then /bin/cp /root/akilliev/resim/orj/internet.jpg /root/akilliev/resim/2.jpg /bin/echo NT1 > /root/akilliev/log/net.log else /bin/cp /root/akil...
Shell
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP addres...
Shell