code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-modeXXX.el in quoted form cat ansys-mode100.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-modeXXX.el in quoted form cat ansys-mode100.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p" cat ansys-process.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1...
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p" cat ansys-process.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1...
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p"
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p" cat ansys-process.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1...
Shell
#!/bin/sh #returns any defcustom variable from ansys-mode.el in quoted form # for creating a list in ansys-submit-bug-report cat ansys-mode.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1/p" cat ansys-process.el | sed -n -e "s/^(defcustom/ /p"| \ sed -n -e "s/ \(\(\w*-*\)*\).*/'\1...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
Shell
#!/bin/sh set -e #if [ "$1" = "remove" ] ; then # apt-get update #fi exit 0
Shell
#!/bin/sh set -e #if [ "$1" = "remove" ] ; then # apt-get update #fi exit 0
Shell
#!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "upgrade" ] ; then apt-key del F4ECF181 fi exit 0
Shell
#!/bin/sh set -e if [ "$1" = "configure" ] ; then apt-key add /usr/share/avant-window-navigator-sources-list/avant-window-navigator.asc #apt-get update fi exit 0
Shell
#!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "upgrade" ] ; then apt-key del F4ECF181 fi exit 0
Shell
#!/bin/sh set -e if [ "$1" = "configure" ] ; then apt-key add /usr/share/avant-window-navigator-sources-list/avant-window-navigator.asc #apt-get update fi exit 0
Shell
#!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "upgrade"] ; then rm /usr/bin/fsc rm /usr/bin/sbaz rm /usr/bin/sbaz-setup rm /usr/bin/scala rm /usr/bin/scalac rm /usr/bin/scaladoc rm /usr/bin/scalap fi exit 0
Shell
#!/bin/sh set -e if [ "$1" = "configure" ] ; then ln -s /usr/share/scala/bin/fsc /usr/bin/ ln -s /usr/share/scala/bin/sbaz /usr/bin/ ln -s /usr/share/scala/bin/sbaz-setup /usr/bin/ ln -s /usr/share/scala/bin/scala /usr/bin/ ln -s /usr/share/scala/bin/scalac /usr/bin/ ln -s /usr/share/scala/bin...
Shell
#!/bin/sh set -e if [ "$1" = "upgrade" ] ; then rm /usr/bin/fsc rm /usr/bin/sbaz rm /usr/bin/sbaz-setup rm /usr/bin/scala rm /usr/bin/scalac rm /usr/bin/scaladoc rm /usr/bin/scalap fi exit 0
Shell
#!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "upgrade"] ; then rm /usr/bin/fsc rm /usr/bin/sbaz rm /usr/bin/sbaz-setup rm /usr/bin/scala rm /usr/bin/scalac rm /usr/bin/scaladoc rm /usr/bin/scalap fi exit 0
Shell
#!/bin/sh set -e if [ "$1" = "configure" ] ; then ln -s /usr/share/scala/bin/fsc /usr/bin/ ln -s /usr/share/scala/bin/sbaz /usr/bin/ ln -s /usr/share/scala/bin/sbaz-setup /usr/bin/ ln -s /usr/share/scala/bin/scala /usr/bin/ ln -s /usr/share/scala/bin/scalac /usr/bin/ ln -s /usr/share/scala/bin...
Shell
#!/bin/sh set -e if [ "$1" = "upgrade" ] ; then rm /usr/bin/fsc rm /usr/bin/sbaz rm /usr/bin/sbaz-setup rm /usr/bin/scala rm /usr/bin/scalac rm /usr/bin/scaladoc rm /usr/bin/scalap fi exit 0
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: autofsck # Required-Start: # Required-Stop: # Should-Start: # Should-Stop: # Default-Start: 0 # Default-Stop: # Short-Description: Set up disk checks # Description: ### END INIT INFO PATH=/usr/sbin:/usr/bin:/sbin:/bin if [ -f /haltcheck ]; then clear ...
Shell
#!/bin/bash # # AutoFsck V3.1 by Jonathan Musther - 27th November 2007 # # The purpose of this script is to make checking your partitions using fsck # simple, streamlined and convenient. It will prompt you on shutdown / logout # if any partitions need checking. # # This script was written specifically for Ubuntu and d...
Shell
#!/bin/bash # # AutoFsck V3.1 by Jonathan Musther - 27th November 2007 # # The purpose of this script is to make checking your partitions using fsck # simple, streamlined and convenient. It will prompt you on shutdown / logout # if any partitions need checking. # # This script was written specifically for Ubuntu and d...
Shell
#!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "upgrade"] ; then if [ -e /etc/gdm/PostSession/Default ] ; then sed -e "/^# Start-AutoFsck/,/^# End-AutoFsck/d" -i /etc/gdm/PostSession/Default fi if [ -e /etc/kde3/kdm/Xreset ] ; then sed -e "/^# Start-AutoFsck/,/^# End-AutoFsck/d" -i /e...
Shell
#!/bin/sh set -e if [ "$1" = "configure" ] ; then if [ -e /etc/gdm/PostSession/Default ] ; then sed -e "2i\ # Start-AutoFsck: section autmatically added by AutoFsck\n\ # Launch AutoFsck V3.0 after session ends\n\ /usr/bin/autofsck --check\n\ # End-AutoFsck" -i /etc/gdm/PostSession/Default fi if [ ...
Shell
#!/bin/sh set -e if [ "$1" = "install" ] && [ -e /etc/X11/gdm/PostSession/Default.pre-fsck2.backup ] ; then rm /etc/X11/gdm/PostSession/AutoFsck rm /etc/X11/gdm/PostSession/Default.pre-fsck2.backup sed -e "/AutoFsck/d" -i /etc/X11/gdm/PostSession/Default chmod a+x /etc/X11/gdm/PostSession/Default fi ...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: autofsck # Required-Start: # Required-Stop: # Should-Start: # Should-Stop: # Default-Start: 0 # Default-Stop: # Short-Description: Set up disk checks # Description: ### END INIT INFO PATH=/usr/sbin:/usr/bin:/sbin:/bin if [ -f /haltcheck ]; then clear ...
Shell
#!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "upgrade"] ; then if [ -e /etc/gdm/PostSession/Default ] ; then sed -e "/^# Start-AutoFsck/,/^# End-AutoFsck/d" -i /etc/gdm/PostSession/Default fi if [ -e /etc/kde3/kdm/Xreset ] ; then sed -e "/^# Start-AutoFsck/,/^# End-AutoFsck/d" -i /e...
Shell
#!/bin/sh set -e if [ "$1" = "configure" ] ; then if [ -e /etc/gdm/PostSession/Default ] ; then sed -e "2i\ # Start-AutoFsck: section autmatically added by AutoFsck\n\ # Launch AutoFsck V3.0 after session ends\n\ /usr/bin/autofsck --check\n\ # End-AutoFsck" -i /etc/gdm/PostSession/Default fi if [ ...
Shell
#!/bin/sh set -e if [ "$1" = "install" ] && [ -e /etc/X11/gdm/PostSession/Default.pre-fsck2.backup ] ; then rm /etc/X11/gdm/PostSession/AutoFsck rm /etc/X11/gdm/PostSession/Default.pre-fsck2.backup sed -e "/AutoFsck/d" -i /etc/X11/gdm/PostSession/Default chmod a+x /etc/X11/gdm/PostSession/Default fi ...
Shell
#!/bin/bash FREECOL_HOME=/usr/share/freecol mkdir -p ~/.freecol/log cd ~/.freecol/log java -Xmx256M -jar $FREECOL_HOME/FreeCol.jar --freecol-data $FREECOL_HOME/data --windowed
Shell
#!/bin/bash FREECOL_HOME=/usr/share/freecol mkdir -p ~/.freecol/log cd ~/.freecol/log java -Xmx256M -jar $FREECOL_HOME/FreeCol.jar --freecol-data $FREECOL_HOME/data --windowed
Shell
#!/bin/bash java -cp /usr/share/java/jline.jar:/usr/share/clojure/clojure.jar jline.ConsoleRunner clojure.main
Shell
#!/bin/bash java -cp /usr/share/java/jline.jar:/usr/share/clojure/clojure.jar jline.ConsoleRunner clojure.main
Shell
#!/bin/sh arch=x86 archdir=Win32 clean_build=true for opt in "$@" do case "$opt" in x86) ;; x64 | amd64) arch=x86_64 archdir=x64 ;; quick) clean_build=false ;; *) echo "Unknown Option $opt" exit 1 e...
Shell
#!/bin/sh arch=x86 archdir=Win32 clean_build=true for opt in "$@" do case "$opt" in x86) ;; x64 | amd64) arch=x86_64 archdir=x64 ;; quick) clean_build=false ;; *) echo "Unknown Option $opt" exit 1 e...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" ...
Shell
#! /bin/sh # # link.sh -- try linking Vim with different sets of libraries, finding the # minimal set for fastest startup. The problem is that configure adds a few # libraries when they exist, but this doesn't mean they are needed for Vim. # # Author: Bram Moolenaar # Last change: 2010 Nov 03 # License: Publi...
Shell
#! /bin/sh # Start Vim on a copy of the tutor file. # Usage: vimtutor [-g] [xx] # Where optional argument -g starts vimtutor in gvim (GUI) instead of vim. # and xx is a language code like "es" or "nl". # When an argument is given, it tries loading that tutor. # When this fails or no argument was given, it tries using...
Shell
#! /bin/sh # installman.sh --- install or uninstall manpages for Vim # # arguments: # 1 what: "install", "uninstall" or "xxd" # 2 target directory e.g., "/usr/local/man/it/man1" # 3 language addition e.g., "" or "-it" # 4 vim location as used in manual pages e.g., "/usr/local/share/vim" # 5 runtime dir ...
Shell
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"
Shell
#! /bin/sh # installml.sh --- install or uninstall manpage links for Vim # # arguments: # 1 what: "install" or "uninstall" # 2 also do GUI pages: "yes" or "" # 3 target directory e.g., "/usr/local/man/it/man1" # 4 vim exe name e.g., "vim" # 5 vimdiff exe name e.g., "vimdiff" # 6 evim exe name ...
Shell
#!/bin/sh # toolcheck -- check for tools that have severe bugs. Good that all the buggy # tools identify by version numbers. This is the spirit of GNU :-) # # 24.7.95 jw. retval=0 reply="`sh -version -c exit 2>&1 < /dev/null`" case "$reply" in GNU*1.14.3*) echo "- sh is '$reply'"; echo " CAUTION: This she...
Shell
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et:
Shell
#! /bin/sh # # osdef.sh -- copy osdef.h.in to osdef.h while removing declarations # found in the system header files. Caution: weird sed magic going on here. # Warnings are printed if sed did not survive. # # (C) Michael Schroeder, Juergen Weigert # # osdef.h.in has been split into osdef1.h.in and osdef2.h.in, because ...
Shell
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done
Shell
#!/bin/sh # # ref - Check spelling of the arguments # # Usage: ref word .. # # can be used for the K command of Vim # spell <<EOF $* EOF
Shell
#!/bin/sh # enable DEC locator input model on remote terminal printf "\033[1;2'z\033[1;3'{\c" vim "$@" # disable DEC locator input model on remote terminal printf "\033[2;4'{\033[0'z\c"
Shell
#!/bin/sh # Shell script to start Vim with less.vim. # Read stdin if no arguments were given and stdin was redirected. if test -t 1; then if test $# = 0; then if test -t 0; then echo "Missing filename" 1>&2 exit fi vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' - else ...
Shell
#! /bin/sh prefix=stock_ list= for file in "$@" do name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'` list="$list $prefix$name $file" done gdk-pixbuf-csource --raw --static --build-list $list
Shell
#!/bin/bash function dumplib() { LIB=$1 for arch in armeabi-v7a armeabi; do VER=$(dump_syms obj/local/$arch/$LIB |grep MODULE | cut -d " " -f 4) mkdir -p symbols/$LIB/$VER dump_syms obj/local/armeabi-v7a/$LIB > symbols/$LIB/$VER/$LIB.sym done } dumplib libopenvpn.so
Shell
#!/bin/bash #NDK_DEBUG=1 ndk-build -j8 # Quick and dirty from ndk-gdb . ${ANDROID_NDK_HOME}/build/tools/ndk-common.sh ANDROID_NDK_ROOT=${ANDROID_NDK_HOME} PROJECT=. APP_ABI=armeabi-v7a AWK_SCRIPTS=${ANDROID_NDK_ROOT}/build/awk PACKAGE_NAME=de.blinkt.openvpn DEBUG_PORT=5039 JDB_PORT=65534 ADB_CMD=adb AWK_CMD=awk ge...
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_lpback.sh - script to test OpenVPN's crypto loopback # Copyright (C) 2005 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 the License, o...
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 # # 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 # # 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 # 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 sets the proper /etc/resolv.conf entries # as pulled down from an OpenVPN server....
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 #################################### # 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 ################################# # 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 route add -net 10.0.0.0 netmask 255.255.255.0 gw $5
Shell
#!/bin/sh # stop all openvpn processes killall -TERM openvpn
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 # 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 # # 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../../../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 # # 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 # # 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/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 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
#!/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 /bin/rm -f mttest purify 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 # # 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/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 # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 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 ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2009-04-28.21; # UTC # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@g...
Shell
#! /bin/sh # libtool (GNU libtool) 2.4.2.418 # Provide generalized library-building support services. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996-2013 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even fo...
Shell