code
stringlengths
1
1.96M
language
stringclasses
1 value
#! /bin/sh set -e # # usage: util/check.sh [directory] # # This script runs lzotest with all algorithms on a complete directory tree. # It is not suitable for accurate timings. # # Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer # LZOTEST="lzotest" test -x ./lzotest/lzotest && LZOTEST="./lzotest/lzotest...
Shell
#! /bin/sh set -e # # usage: util/checkasm.sh [directory] # # This script runs lzotest with all assembler decompressors # on a complete directory tree. # It is not suitable for accurate timings. # # Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer # LZOTEST="lzotest" test -x ./lzotest/lzotest && LZOTEST=...
Shell
#! /bin/sh # vi:ts=4:et # Copyright (C) 1996-2014 Markus F.X.J. Oberhumer rm -f *.o liblzo2.a dict.out lzopack.out precomp.out precomp2.out simple.out lzotest.out testmini.out true
Shell
#! /bin/sh # vi:ts=4:et test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../.. LZO_CFG_FREESTANDING=1 . $top_srcdir/B/generic/build.sh
Shell
#! /bin/sh # vi:ts=4:et set -e echo "// Copyright (C) 1996-2014 Markus F.X.J. Oberhumer" echo "//" echo "// Generic Posix/Unix system" echo "// Generic C compiler" test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../.. test "X${AR}" = X && AR="ar" test "X${CC}" = X && CC="cc" test "X${CFLAGS+...
Shell
#! /bin/sh # vi:ts=4:et set -e echo "// Using GNU C compiler." echo "//" test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../.. UNAME_MACHINE=unknown CC="gcc -fPIC" CC="gcc -static" CC="gcc" CFLAGS="-Wall -O2 -fomit-frame-pointer" # delete the next line to disable assembler support UNAME_MACHINE...
Shell
#!/bin/sh # set -e export LANG=C export LC_ALL=C PROGDIR=$(dirname "$0") PROGNAME=$(basename "$0") panic () { echo "ERROR: $@" exit 1 } VERBOSE=1 # Dump message is $VERBOSE >= $1 # $1+: message. dump_n () { local LOG_LEVEL=$1 shift if [ "$VERBOSE" -ge "$LOG_LEVEL" ]; then printf "%s\n" "$@" fi } #...
Shell
#!/bin/bash # # Copyright (C) 2010 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 a...
Shell
#!/bin/sh # # CA - wrapper around ca to make it easier to use ... basically ca requires # some setup stuff to be done before you can use it and this makes # things easier between now and when Eric is convinced to fix it :-) # # CA -newca ... will setup the right stuff # CA -newreq ... will generate a certific...
Shell
#!/bin/bash # # Copyright (C) 2009 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 a...
Shell
#!/bin/sh # # build using pthreads where it's already built into the system # /bin/rm -f mttest gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
Shell
#!/bin/sh # # build using pthreads # # http://www.mit.edu:8001/people/proven/pthreads.html # /bin/rm -f mttest pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
Shell
#!/bin/sh /bin/rm -f mttest cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh /bin/rm -f mttest cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh /bin/rm -f mttest purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/bash # # Copyright (C) 2010 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 a...
Shell
#!/bin/sh if [ "$1" = "" ]; then key=../apps/server.pem else key="$1" fi if [ "$2" = "" ]; then cert=../apps/server.pem else cert="$2" fi ssltest="adb shell /system/bin/ssltest -key $key -cert $cert -c_key $key -c_cert $cert" if adb shell /system/bin/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key...
Shell
OPENVPN_PACKAGE_NAME="@PACKAGE_NAME@" OPENVPN_PACKAGE_TARNAME="@PACKAGE_TARNAME@" OPENVPN_PACKAGE_VERSION="@PACKAGE_VERSION@" OPENVPN_PACKAGE_HOST="@host@"
Shell
#!@SHELL@ # # run OpenVPN client against ``test reference'' server # - check that ping, http, ... via tunnel works # - check that interface config / routes are properly cleaned after test end # # prerequisites: # - openvpn binary in current directory # - writable current directory to create subdir for logs # - t_client...
Shell
#! /bin/sh # # t_cltsrv.sh - script to test OpenVPN's crypto loopback # Copyright (C) 2005, 2006, 2008 Matthias Andree # # 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 th...
Shell
#! /bin/sh echo "${role}:${signal}" >&3
Shell
#! /bin/sh # # t_lpback.sh - script to test OpenVPN's crypto loopback # Copyright (C) 2005 Matthias Andree # Copyright (C) 2014 Steffan Karger # # 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;...
Shell
#!/bin/sh # Sample script to perform OCSP queries with OpenSSL # given a certificate serial number. # If you run your own CA, you can set up a very simple # OCSP server using the -port option to "openssl ocsp". # Full documentation and examples: # http://www.openssl.org/docs/apps/ocsp.html # Edit the following val...
Shell
#!/bin/sh # Copyright (c) 2005-2010 OpenVPN Technologies, Inc. # Licensed under the GPL version 2 # First version by Jesse Adelman # someone at boldandbusted dink com # http://www.boldandbusted.com/ # PURPOSE: This script automatically removes the /etc/resolv.conf entries previously # set by the companion script "cl...
Shell
#!/bin/sh # Copyright (c) 2005-2010 OpenVPN Technologies, Inc. # Licensed under the GPL version 2 # First version by Jesse Adelman # someone at boldandbusted dink com # http://www.boldandbusted.com/ # PURPOSE: This script automatically sets the proper /etc/resolv.conf entries # as pulled down from an OpenVPN server....
Shell
#!/bin/sh # # Bring down vpn routing. # calculate the network address remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"` remote_network="${remote_network#*=}" # clear routing via VPN ip route del "$remote_network"/"$remote_netmask_bits" via "$5" table vpn.out ip route del table vpnonly.out via "$5" iptabl...
Shell
#!/bin/sh # # Bring up vpn routing. # calculate the network address remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"` remote_network="${remote_network#*=}" # add the stuff that doesn't change if it's not already there grep -q '^202 ' /etc/iproute2/rt_tables if [ "$?" -ne 0 ] then echo 202 vpn.out >> /e...
Shell
#!/bin/sh # # openvpn This shell script takes care of starting and stopping # openvpn on RedHat or other chkconfig-based system. # # chkconfig: 345 24 76 # # description: OpenVPN is a robust and highly flexible tunneling application \ # that uses all of the encryption, authentication, a...
Shell
#!/bin/sh ### BEGIN INIT INFO # Provides: openvpn # Required-Start: $network # Required-Stop: $network # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: This shell script takes care of starting and stopping OpenVP...
Shell
#!/bin/sh ################################# # Set up Ethernet bridge on Linux # Requires: bridge-utils ################################# # Define Bridge Interface br="br0" # Define list of TAP interfaces to be bridged, # for example tap="tap0 tap1 tap2". tap="tap0" # Define physical ethernet interface to be bridged...
Shell
#!/bin/sh #################################### # Tear Down Ethernet bridge on Linux #################################### # Define Bridge Interface br="br0" # Define list of TAP interfaces to be bridged together tap="tap0" ifconfig $br down brctl delbr $br for t in $tap; do openvpn --rmtun --dev $t done
Shell
#!/bin/sh # # Build an OpenVPN plugin module on *nix. The argument should # be the base name of the C source file (without the .c). # # This directory is where we will look for openvpn-plugin.h CPPFLAGS="${CPPFLAGS:--I../../../include}" CC="${CC:-gcc}" CFLAGS="${CFLAGS:--O2 -Wall -g}" $CC $CPPFLAGS $CFLAGS -fPIC -...
Shell
#!/bin/sh # # Build an OpenVPN plugin module on *nix. The argument should # be the base name of the C source file (without the .c). # # This directory is where we will look for openvpn-plugin.h CPPFLAGS="${CPPFLAGS:--I../../..}" CC="${CC:-gcc}" CFLAGS="${CFLAGS:--O2 -Wall -g}" $CC $CPPFLAGS $CFLAGS -fPIC -c $1.c &...
Shell
#!/bin/sh # # Build an OpenVPN plugin module on *nix. The argument should # be the base name of the C source file (without the .c). # # This directory is where we will look for openvpn-plugin.h CPPFLAGS="${CPPFLAGS:--I../../../include}" CC="${CC:-gcc}" CFLAGS="${CFLAGS:--O2 -Wall -g}" $CC $CPPFLAGS $CFLAGS -fPIC -...
Shell
#!/bin/sh # A Sample OpenVPN-aware firewall. # eth0 is connected to the internet. # eth1 is connected to a private subnet. # Change this subnet to correspond to your private # ethernet subnet. Home will use HOME_NET/24 and # Office will use OFFICE_NET/24. PRIVATE=10.0.0.0/24 # Loopback address LOOP=127.0.0.1 # De...
Shell
#!/bin/sh # stop all openvpn processes killall -TERM openvpn
Shell
#!/bin/sh route add -net 10.0.0.0 netmask 255.255.255.0 gw $5
Shell
#!/bin/sh # A sample OpenVPN startup script # for Linux. # openvpn config file directory dir=/etc/openvpn # load the firewall $dir/firewall.sh # load TUN/TAP kernel module modprobe tun # enable IP forwarding echo 1 > /proc/sys/net/ipv4/ip_forward # Invoke openvpn for each VPN tunnel # in daemon mode. Alternative...
Shell
#!/bin/sh route add -net 10.0.1.0 netmask 255.255.255.0 gw $5
Shell
#!/bin/sh # # Run this script to set up a test CA, and test key-certificate pair for a # server, and various clients. # # Copyright (C) 2014 Steffan Karger <steffan@karger.me> set -eu command -v openssl >/dev/null 2>&1 || { echo >&2 "Unable to find openssl. Please make sure openssl is installed and in your path."; exi...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am start \ -a android.intent.action.MAIN \ -c android.intent.category.LAUNCHER \ -n com.google.android.apps.iosched/.ui.HomeActivity
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am force-stop com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_ImageCache VERBOSE adb shell setprop log.tag.iosched_ImageWorker VERBOSE adb shell setprop log.tag.iosched_I...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
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
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash ## 05-Jan-2009 - Make the file executable for Linux/Unix platforms if [ -z "$1" ]; then echo "Usage: $0 DIRECTORY DATABASE USER" exit 0 fi if [ -z "$2" ]; then echo "Usage: $0 DIRECTORY DATABASE USER" exit 0 fi if [ -z "$3" ]; then echo "Usage: $0 DIRECTORY DATABASE USER" exit 0 fi echo...
Shell
#!/bin/bash if [ -z "$1" ]; then echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER" exit 0 fi if [ -z "$2" ]; then echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER" exit 0 fi if [ -z "$3" ]; then echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER" exit 0 fi echo "AdempiereLBR" echo "." echo ". Eduardo Montene...
Shell
#!/usr/bin/env bash # Copyright 2014 The Oppia Authors. All Rights Reserved. # # 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 re...
Shell
#!/usr/bin/env bash # Copyright 2014 The Oppia Authors. All Rights Reserved. # # 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 re...
Shell
#!/usr/bin/env bash # Copyright 2014 The Oppia Authors. All Rights Reserved. # # 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 re...
Shell
#!/usr/bin/env bash # Copyright 2014 The Oppia Authors. All Rights Reserved. # # 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 re...
Shell
#!/usr/bin/env bash # Copyright 2014 The Oppia Authors. All Rights Reserved. # # 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 re...
Shell
# Copyright 2014 The Oppia Authors. All Rights Reserved. # # 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 ...
Shell
#!/usr/bin/env bash # Copyright 2014 The Oppia Authors. All Rights Reserved. # # 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 re...
Shell
# Copyright 2014 The Oppia Authors. All Rights Reserved. # # 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 ...
Shell
#!/bin/sh #set -x # for debugging if [ -z "$NMSRC" ]; then NMSRC=~/netmap-release fi DRIVER="ixgbe" #IF="eth0" # force an interface if [ ! -f ${NMSRC}/LINUX/netmap_lin.ko ]; then echo "LINUX/netmap_lin.ko missing. Please compile netmap." exit 1 fi if [ ! -f ${NMSRC}/LINUX/${DRIVER}/${DRIVER}.ko ]; the...
Shell
#!/bin/sh sed -n 's/^## \?//p' $1 | fmt
Shell
#!/bin/sh #set -x function pgset() { local result echo $1 > ${PGDEV} result=$(cat $PGDEV | fgrep "Result: OK:") if [ "$result" = "" ]; then cat $PGDEV | fgrep "Result:" fi } ##################### Script configuration ###################### N="$1" # number of T...
Shell
#!/bin/bash ## Manage linux driver patches for netmap. ## usage (from the dir containing the Makefile): ## ## scripts/np <action> [args...] ## ## where <action> is any of the functions below. ## [ -f scripts/conf ] && source scripts/conf ## The following enviroment variables must be set: ## ## GITDIR: the absolu...
Shell
# Maintainer: Vincenzo Maffione <v.maffione@gmail.com> # Name of the Software your PKGBUILD will install - should be unique. pkgname=netmap # The version number for the software pkgver=1.0 #The release number for the arch package, as fixes are added to the # PKGBUILD, the release number will increase pkgrel=1 # The...
Shell
#!/bin/bash getLangsForFiles () { echo "en" # default language for F in "$@" do find res/ -name "$F" done \ | sed -n ' s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy ' } getLangsForDicts () { ls ../Dicts \ | sed 's/.*-//;...
Shell
#!/bin/bash Res=res/ Alt=donottranslate-altchars.xml Map=donottranslate-keymap.xml Out=assets/kbd/ mkdir -p "$Out" for Dir in res/values res/values-* do [ -f $Dir/$Map ] || continue # -o -f $Dir/$Alt ] || continue Args="$Res/values/$Alt" [ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt" Args="$Args $Res/values/$Map...
Shell
#!/usr/bin/bash php symfony cache:clear php symfony doctrine:build --all --and-load --no-confirmation php symfony plugin:publish-assets
Shell
#!/usr/bin/bash php symfony cache:clear php symfony doctrine:build --all --and-load --no-confirmation php symfony plugin:publish-assets
Shell
svn checkout -r 50 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r50 svn checkout -r 100 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r100 svn checkout -r 150 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r150 svn checkout -r 200 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE...
Shell
#!/bin/bash # This script creates a lvm snapshot, modify as required # # Input is always: # $1 = name of the snapshot, a random name with no spaces or non-printable chars, usually something like "duplicati-0102030011234567" # $2 = name of the device to create the snapshot for, this is the output of find-volume.sh, ...
Shell
#!/bin/bash # This script returns the device on which the volume is mounted # # Input is always: # $1 = name of the folder to locate the LVM device for # # The script MUST output a line with device="<path>", where path is the lvm id. # The script MUST output a line with mountpoint="<path>", where path is the device ...
Shell
#!/bin/bash # This script removes a lvm snapshot, modify as required # # Input is always: # $1 = name of the snapshot, a random name, same as given to create-lvm-snapshot, usually something like "duplicati-0102030011234567" # $2 = name of the device for which the snapshot was created, same as given to create-lvm-sn...
Shell
#!/bin/bash ############################################################################### # How to run scripts before or after backups ############################################################################### # Duplicati is able to run scripts before and after backups. This # functionality is available in th...
Shell
#!/bin/sh # Usage: ./duplicati-make-git-snapshot.sh [COMMIT] [DATE] # # to make a snapshot of the given tag/branch. Defaults to HEAD. # Point env var REF to a local duplicati repo to reduce clone time. if [ -z $2 ]; then DATE=`date +%Y%m%d` else DATE=$2 fi DIRNAME="duplicati-$DATE" echo REF ${REF:+--reference ...
Shell
#!/bin/bash DATE=`date +%Y%m%d` git pull bash duplicati-make-git-snapshot.sh mv duplicati-$DATE.tar.bz2 ~/rpmbuild/SOURCES/ cp *.sh ~/rpmbuild/SOURCES/ cp *.patch ~/rpmbuild/SOURCES/ if [ -e ./oem.js ]; then cp ./oem.js ~/rpmbuild/SOURCES/ fi if [ -e ./oem.css ]; then cp ./oem.css ~/rpmbuild/SOURCES/ fi rp...
Shell
#!/bin/sh # # DMG building script adopted from: # http://el-tramo.be/git/fancy-dmg/plain/Makefile # WC_DMG=wc.dmg WC_DIR=wc TEMPLATE_DMG=template.dmg SOURCE_FILES=Duplicati.app OUTPUT=Duplicati.dmg UNWANTED_FILES="AlphaVSS.Common.dll AlphaFS.dll AlphaFS.dll.config AlphaVSS.Common.dll.config appindicator-sharp.dll SQ...
Shell
#!/bin/sh # # This is a stub script that allows .apps to be relocatable on OSX but still # find the managed assembly. # # This is copied from the Mono macpack tool and modified to fit Duplicati # # The Mono Version Check is from here: # http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app #...
Shell
#!/bin/sh # # This is a stub script that allows .apps to be relocatable on OSX but still # find the managed assembly. # # This is copied from the Mono macpack tool and modified to fit Duplicati # # The Mono Version Check is from here: # http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app #...
Shell
#!/bin/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.CommandLine.exe APP_NAME=Duplicati.CommandLine exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.GUI.TrayIcon.exe APP_NAME=Duplicati exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.Server.exe APP_NAME=DuplicatiServer exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash if [ -e ../oem.js ]; then echo "Installing OEM script" cp ../oem.js build/lib/duplicati/webroot/scripts/ fi if [ -e ../oem.css ]; then echo "Installing OEM stylesheet" cp ../oem.css build/lib/duplicati/webroot/stylesheets/ fi
Shell
cd Installer/Makefile make $@
Shell
#!/bin/bash ############################# # $1 = jace home directory # # $2 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$1/"*.so "$2/" cp "$1/"jace-core-runtime-*.jar "$2/jace-runtime.jar"
Shell
#!/bin/bash ############################# # $1 = jace home directory # # $2 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$1/"*.so "$2/" cp "$1/"jace-core-runtime-*.jar "$2/jace-runtime.jar"
Shell
#!/bin/bash ############################# # $1 = jace home directory # # $2 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$1/"*.so "$2/" cp "$1/"jace-core-runtime-*.jar "$2/jace-runtime.jar"
Shell
#!/bin/bash ############################# # $1 = jace home directory # # $2 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$1/"*.so "$2/" cp "$1/../../../../java/target/"jace-examples-peer-example1*.jar "$2/peer_example1.jar" cp "$1/"jace-core-runtime-*....
Shell
#!/bin/bash ############################# # $1 = jace home directory # # $2 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$1/"*.so "$2/" cp "$1/"jace-core-runtime-*.jar "$2/jace-runtime.jar"
Shell
#!/bin/bash ############################# # $1 = jace home directory # # $2 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$1/"*.so "$2/" cp "$1/../../../../java/target/"jace-examples-singleton*.jar "$2/singleton.jar" cp "$1/"jace-core-runtime-*.jar "$2/...
Shell
#!/bin/bash ############################# # $1 = jace home directory # # $2 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$1/"*.so "$2/" cp "$1/"jace-core-runtime-*.jar "$2/jace-runtime.jar"
Shell
#!/bin/bash ################################# # $1 = boost library directory # # $2 = output directory # ################################# echo "Copying dependencies to output directory..." cp "$1/"*.so "$2/"
Shell
#!/bin/bash . serial.sh function send { echo -ne "$*\r" > $SERIAL_DEVICE } send A=1000000 send VM=70000 send E # end any running program send DE=1 # enable drive while true; do send MR -10000 sleep 0.1 done
Shell
#!/bin/bash . serial.sh echo -ne "DE=1\r" > $SERIAL_DEVICE sleep 0.1 echo -ne "EX SU\r" > $SERIAL_DEVICE sleep 0.1 echo -ne "RS\r" > $SERIAL_DEVICE
Shell
#!/bin/bash . serial.sh echo -ne "DE=0\r" > $SERIAL_DEVICE sleep 0.1 echo -ne "E\r" > $SERIAL_DEVICE
Shell
#!/bin/bash . serial.sh function send { echo -ne "$*\r" > $SERIAL_DEVICE } send A=1000000 send VM=70000 send E # end any running program send DE=1 # enable drive while true; do send MR 10000 sleep 0.1 done
Shell
if [ `uname` = "Linux" ]; then SERIAL_DEVICE=/dev/ttyUSB0 stty -F $SERIAL_DEVICE 9600 else SERIAL_DEVICE=/dev/cu.usbserial-FTC8534M fi
Shell
#!/bin/bash . serial.sh echo -ne "PS\r" > $SERIAL_DEVICE sleep 0.1 echo -ne "E\r" > $SERIAL_DEVICE sleep 0.1 echo -ne "CP\r" > $SERIAL_DEVICE sleep 0.5 cat scan.mxt > $SERIAL_DEVICE #cat sensors.mxt > $SERIAL_DEVICE
Shell
#!/bin/bash # # Copyright 2011 Google Inc. All Rights Reserved. # # 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 applic...
Shell