code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/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 # # 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 # 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../../..}" CC="${CC:-gcc}" CFLAGS="${CFLAGS:--O2 -Wall -g}" $CC $CPPFLAGS $CFLAGS -fPIC -c $1.c &...
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 -x PROJECT="gmail-delay-send" USER="blairkutz@gmail.com" ENV=dev FILE_NAME="output/${PROJECT}.${ENV}" echo "Combining and uploading files for $ENV" rm -f ${FILE_NAME} touch ${FILE_NAME} for FILE in ../src/* do cat $FILE >> ${FILE_NAME} done python utils/googlecode_upload.py -s "Uploading for $ENV" -p ...
Shell
#!/bin/sh VERSION=BETA_0.7.3 git tag -f ${VERSION} mkdir -f output FILE_NAME=output/${VERSION}.combined for FILE in ../src/downloaded/* do cat $FILE >> ${FILE_NAME} done
Shell
#!/bin/bash ###################################################################### # # WANsim v2.1.1 by Ferry Hendrikx, (c) 2008-2014 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO ...
Shell
#!/bin/bash ###################################################################### # # WANsim v2.1.1 by Ferry Hendrikx, (c) 2008-2014 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO ...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008-2009 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wa...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008-2009 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wa...
Shell
#!/bin/bash ###################################################################### # # WANsim v2.1.1 by Ferry Hendrikx, (c) 2008-2014 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO ...
Shell
#!/bin/bash ###################################################################### # # WANsim v2.1.1 by Ferry Hendrikx, (c) 2008-2014 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO ...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008-2009 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wa...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008-2009 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wa...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.2 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.2 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.5 by Ferry Hendrikx, (c) 2008-2009 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO # Pr...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.5 by Ferry Hendrikx, (c) 2008-2009 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO # Pr...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008-2009 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wa...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008-2009 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wa...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.3 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.3 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.2 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.2 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.3 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.3 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.2 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.2 by Ferry Hendrikx, (c) 2008 # ###################################################################### ### BEGIN INIT INFO # Provides: WANsim # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.4 by Ferry Hendrikx, (c) 2008,2009 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO # Pr...
Shell
#!/bin/sh ###################################################################### # # WANsim v1.4 by Ferry Hendrikx, (c) 2008,2009 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO # Pr...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wansim ...
Shell
#!/bin/bash ###################################################################### # # WANsim v2.1.0 by Ferry Hendrikx, (c) 2008-2014 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO ...
Shell
#!/bin/bash ###################################################################### # # WANsim v2.1.0 by Ferry Hendrikx, (c) 2008-2014 # # chkconfig: 2345 10 60 # description: WANsim provides an emulated WAN on your Linux server ###################################################################### ### BEGIN INIT INFO ...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/bash ###################################################################### # # WANsim install script v1.1 by Ferry Hendrikx, (c) 2009 # # An install script for non-Debian or source code users of WANsim. # # This script is based on the Debian install script, however it has # not been extensively tested. # #####...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008-2009 # postinst script ###################################################################### set -e # add WANsim user adduser --system --group --shell /usr/sbin/wansimsetup --home /var/lib/wansim wa...
Shell
#!/bin/sh ###################################################################### # WANsim by Ferry Hendrikx, (c) 2008 # postrm script ###################################################################### set -e # remove WANsim init.d script update-rc.d -f wansim remove >/dev/null || exit $? # remove WANsim user f...
Shell