code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/" CMakeLists.txt sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MINOR \"[0-9]+\"\)/SET(CPACK_PACKAGE...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/" CMakeLists.txt sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MINOR \"[0-9]+\"\)/SET(CPACK_PACKAGE...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash # This file is part of wkhtmltopdf. # # wkhtmltopdf 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. # # wkhtmltopdf is dist...
Shell
#!/bin/bash svn status if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then echo "Bad vertion" exit 1 fi v="$1.$2.$3" echo "About to release $v" read -p "Are you sure you are ready: " N [ "$N" != "YES" ] && exit sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/...
Shell
#!/bin/bash if [ $# != 1 ] then echo "Usage: $0 emailAddress" exit 1 fi read -s -p "Password: " mypassword echo "" curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#!/bin/sh # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
Shell
#! /bin/bash feh --bg-scale ~/.wallpapers/women_panties_stomach_black_girl_sexy_silouette_desktop_2560x1600_hd-wallpaper-757235.jpg & dropbox start & volumeicon & warning_battery & conky -c ~/.config/wmfs/scripts/conkyrc_top | while true; read line; do wmfs -c status "testbar $line"; done & conky -c ~/.config/wmfs/scr...
Shell
#! /bin/bash feh --bg-scale ~/.wallpapers/women_panties_stomach_black_girl_sexy_silouette_desktop_2560x1600_hd-wallpaper-757235.jpg & dropbox start & volumeicon & warning_battery & conky -c ~/.config/wmfs/scripts/conkyrc_top | while true; read line; do wmfs -c status "testbar $line"; done & conky -c ~/.config/wmfs/scr...
Shell
#!/bin/sh acpi=`acpi` if echo "$acpi" | grep -q "until"; then result=`acpi | cut -d' ' -f5 | cut -d':' -f2,3` result=$result" until charged" else result=`acpi | cut -d' ' -f5 | cut -d':' -f1,2` fi echo $result
Shell
#!/bin/bash gmail_login=your_id gmail_password=your_pass wget -q -O - https://mail.google.com/a/gmail.com/feed/atom --http-user=${gmail_login}@gmail.com --http-password="${gmail_password}" --no-check-certificate | grep fullcount | cut -d'>' -f8 | cut -d'<' -f1 #| sed 's/<[^0-9]*>//g'
Shell
#!/bin/sh updates=$(/usr/lib/update-notifier/apt-check 2>&1) if [ "$updates" = "0;0" ]; then echo "System is up-to-date" fi; if [ "$updates" != "0;0" ]; then echo "Have to update" fi; exit 0
Shell
#!/bin/sh result=`acpi -t | cut -d' ' -f4` echo $result
Shell
#!/bin/sh acpi=`acpi` if echo "$acpi" | grep -q "until"; then result=`acpi | cut -d' ' -f5 | cut -d':' -f2,3` result=$result" until charged" else result=`acpi | cut -d' ' -f5 | cut -d':' -f1,2` fi echo $result
Shell
#!/bin/sh result=`acpi -t | cut -d' ' -f4` echo $result
Shell
#!/bin/bash gmail_login=your_id gmail_password=your_pass wget -q -O - https://mail.google.com/a/gmail.com/feed/atom --http-user=${gmail_login}@gmail.com --http-password="${gmail_password}" --no-check-certificate | grep fullcount | cut -d'>' -f8 | cut -d'<' -f1 #| sed 's/<[^0-9]*>//g'
Shell
#d!/bin/sh cat $HOME/.todo |while read ligne do echo -n "$ligne / " done
Shell
#!/bin/sh updates=$(/usr/lib/update-notifier/apt-check 2>&1) if [ "$updates" = "0;0" ]; then echo "System is up-to-date" fi; if [ "$updates" != "0;0" ]; then echo "Have to update" fi; exit 0
Shell
#!/bin/bash espace=" " #here your place for weather #Lille $HOME/.config/wmfs/scripts/meteo/meteo.sh FRXX0052 #Etang sale #$HOME/.config/wmfs/scripts/meteo/meteo.sh FRXX7812 resultat=`sed -n 2p /tmp/conky_meteo.txt | cut -d':' -f2` echo $resultat$espace #resultat=`sed -n 5p /tmp/conky_meteo.txt | cut -d' ' -f5,6,7`
Shell
#!/bin/bash # Répertoire de ce script et du XSLT RUNDIR=~/.config/wmfs/scripts/meteo # Emplacement du XSLT XSLT=$RUNDIR/meteo.xslt # Fichier de destination des informations DESTFILE=/tmp/conky_meteo.txt # Emplacement de xsltproc XSLTCMD=/usr/bin/xsltproc # Traitement URL="http://xml.weather.com/weather/local/$1?cc=*&...
Shell
#!/bin/bash espace=" " #here your place for weather #Lille $HOME/.config/wmfs/scripts/meteo/meteo.sh FRXX0052 #Etang sale #$HOME/.config/wmfs/scripts/meteo/meteo.sh FRXX7812 resultat=`sed -n 2p /tmp/conky_meteo.txt | cut -d':' -f2` echo $resultat$espace #resultat=`sed -n 5p /tmp/conky_meteo.txt | cut -d' ' -f5,6,7`
Shell
#!/bin/bash # Répertoire de ce script et du XSLT RUNDIR=~/.config/wmfs/scripts/meteo # Emplacement du XSLT XSLT=$RUNDIR/meteo.xslt # Fichier de destination des informations DESTFILE=/tmp/conky_meteo.txt # Emplacement de xsltproc XSLTCMD=/usr/bin/xsltproc # Traitement URL="http://xml.weather.com/weather/local/$1?cc=*&...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2010, Cake Software Foundation, Inc. # # Licensed under The ...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2010, Cake Software Foundation, Inc. # # Licensed under The ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES || exit 1 cp -af $PWD/mod/files/* $PWD
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES if [ $? -ne 0 ]; then echo "Can not apply patches" 1>&2 exit 1 fi MOD_REV=`cat $PWD/mod/.svnrev 2>/dev/null` for a in httpd rc shared www do REV=`svnversion -c $PWD/$a 2>/dev/null | sed -e ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES if [ $? -ne 0 ]; then echo "Can not apply patches" 1>&2 exit 1 fi MOD_REV=`cat $PWD/mod/.svnrev 2>/dev/null` for a in httpd rc shared www do REV=`svnversion -c $PWD/$a 2>/dev/null | sed -e ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash echo "Preparing web interface..." if [ -n "$1" ]; then TMPDIR=$1 cp -af web web_$TMPDIR echo "Stripping web interface..." which java >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "Java Runtime Environment is missing." 1>&2 exit 1 fi echo "Compressing JavaScript..." for a in $(ls web_$TMPDI...
Shell
#!/bin/bash echo "Preparing web interface..." if [ -n "$1" ]; then TMPDIR=$1 cp -af web web_$TMPDIR echo "Stripping web interface..." which java >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "Java Runtime Environment is missing." 1>&2 exit 1 fi echo "Compressing JavaScript..." for a in $(ls web_$TMPDI...
Shell
#!/bin/bash # Universal 3G/CDMA moden connection script # based on ver 2.104 by dlukanidin # $Id: dial 3929 2012-03-09 09:33:47Z rssdev10 $ # Path devpath_name='/proc/bus/usb/devpath' modem_conf_name='/usr/share/modem/modems.conf' tmp_name='/tmp/dial.tmp' peers_path='/tmp/ppp/peers/' log_name='/tmp/chat.log' user_scr...
Shell
#!/bin/bash # Universal 3G/CDMA moden connection script # based on ver 2.104 by dlukanidin # $Id: dial 3929 2012-03-09 09:33:47Z rssdev10 $ # Path devpath_name='/proc/bus/usb/devpath' modem_conf_name='/usr/share/modem/modems.conf' tmp_name='/tmp/dial.tmp' peers_path='/tmp/ppp/peers/' log_name='/tmp/chat.log' user_scr...
Shell
#!/bin/sh # # Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su> # # 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 2 of the License, or # (at your option) any later version. ...
Shell
#!/bin/sh # # Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su> # # 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 2 of the License, or # (at your option) any later version. ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES if [ $? -ne 0 ]; then echo "Can not apply patches" 1>&2 exit 1 fi MOD_REV=`cat $PWD/mod/.svnrev 2>/dev/null` for a in httpd rc shared www do REV=`svnversion -c $PWD/$a 2>/dev/null | sed -e ...
Shell
#!/bin/sh PWD=`pwd` PATCHER=$PWD/mod/patch.sh PATCHES=`ls -1 mod/[0-9][0-9][0-9]-*.patch 2>/dev/null` $PATCHER -Z $PWD/ $PATCHES if [ $? -ne 0 ]; then echo "Can not apply patches" 1>&2 exit 1 fi MOD_REV=`cat $PWD/mod/.svnrev 2>/dev/null` for a in httpd rc shared www do REV=`svnversion -c $PWD/$a 2>/dev/null | sed -e ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash USAGE="Usage: $0 [-dRZ] <dir> patches to apply" if [ $# -lt 2 ]; then echo $USAGE exit 1 fi dbg_output=/dev/null flg_test=-R; unset flg_apply; unset flg_opt while getopts drRTZ f do case $f in d) dbg_output=patch_debug.log;; r|R) unset flg_test; flg_apply=-R;; T|Z) flg_opt=-Z;; ...
Shell
#!/bin/bash echo "Preparing web interface..." if [ -n "$1" ]; then TMPDIR=$1 cp -af web web_$TMPDIR echo "Stripping web interface..." which java >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "Java Runtime Environment is missing." 1>&2 exit 1 fi echo "Compressing JavaScript..." for a in $(ls web_$TMPDI...
Shell
#!/bin/bash echo "Preparing web interface..." if [ -n "$1" ]; then TMPDIR=$1 cp -af web web_$TMPDIR echo "Stripping web interface..." which java >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "Java Runtime Environment is missing." 1>&2 exit 1 fi echo "Compressing JavaScript..." for a in $(ls web_$TMPDI...
Shell
#!/bin/bash # Universal 3G/CDMA moden connection script # based on ver 2.104 by dlukanidin # $Id: dial 3929 2012-03-09 09:33:47Z rssdev10 $ # Path devpath_name='/proc/bus/usb/devpath' tmp_name='/tmp/dial.tmp' peers_path='/tmp/ppp/peers/' log_name='/tmp/chat.log' user_script_name='/usr/local/dial/dial' def_failure_scr...
Shell
#!/bin/bash # Universal 3G/CDMA moden connection script # based on ver 2.104 by dlukanidin # $Id: dial 3929 2012-03-09 09:33:47Z rssdev10 $ # Path devpath_name='/proc/bus/usb/devpath' tmp_name='/tmp/dial.tmp' peers_path='/tmp/ppp/peers/' log_name='/tmp/chat.log' user_script_name='/usr/local/dial/dial' def_failure_scr...
Shell
#!/bin/sh # # Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su> # # 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 2 of the License, or # (at your option) any later version. ...
Shell