code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # # Usage example: ./generate.sh int Int Integer" # Args are: primitive type, capitalized primitive type, wrapper type # # To make changes to the .java files in this package, # 1. run this script to generate the templates, move the .gen files # somewhere else # 2. modify the template with your intended cha...
Shell
#!/bin/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
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
export JAVA_HOME=/usr/lib/jvm/jre export TC_INSTALL_DIR=/home/terracotta/terracotta/terracotta-3.4.0 if ps ax | grep -v grep | grep start-tc-server.sh > /dev/null then echo "Terracotta Server is already running" else $TC_INSTALL_DIR/bin/start-tc-server.sh -f /home/terracotta/zahra/tc-config.xml fi
Shell
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk export TC_INSTALL_DIR=/home/terracotta/terracotta/terracotta-3.4.0 cd /home/terracotta/zahra while true; do $TC_INSTALL_DIR/platform/bin/dso-java.sh \ -cp /home/terracotta/zahra/zahra.jar:\ /home/terracotta/zahra/lib/jetty-all-7.0.2.v20100331.jar:\ /home/terracotta/zahra...
Shell
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre export TC_INSTALL_DIR=/home/terracotta/terracotta/terracotta-3.4.0 if ps ax | grep -v grep | grep start-tc-server.sh > /dev/null then echo "Terracotta Server is already running" else $TC_INSTALL_DIR/bin/start-tc-server.sh -f /home/terr...
Shell
export JAVA_HOME=/usr/lib/jvm/jre export TC_INSTALL_DIR=/home/terracotta/terracotta/terracotta-3.4.0 $TC_INSTALL_DIR/platform/bin/dso-java.sh \ -cp /home/terracotta/zahra/zahra.jar:\ /home/terracotta/zahra/lib/jetty-all-7.0.2.v20100331.jar:\ /home/terracotta/zahra/lib/servlet-api-2.5.jar:\ /home/terracotta/zahra/lib/t...
Shell
#!/bin/sh # gcodeup is a copy of $GOROOT/misc/dashboard/googlecode_upload.py. . ./setup user=$(sed -n 's/^re2.username = //' ~/.hgrc) password=$(sed -n 's/^re2\.password = //' ~/.hgrc) upload() { goos=$(echo $1 | sed "s/codesearch-$version-//; s/-.*//") goarch=$(echo $1 | sed "s/codesearch-$version-//; s/[a-z0-9]*...
Shell
#!/bin/bash . ./setup for i in {5,6,8}{c,g,a,l} do gomake -C $GOROOT/src/cmd/$i install done build() { echo "# $1" goos=$(echo $1 | sed 's;/.*;;') goarch=$(echo $1 | sed 's;.*/;;') GOOS=$goos GOARCH=$goarch CGO_ENABLED=0 \ go install -a code.google.com/p/codesearch/cmd/{cgrep,cindex,csearch} rm -rf codesearc...
Shell
#!/bin/bash ## ## List the release each author first contributed to. ## ## Usage: author_first_release.sh [TAGS] ## ## If the TAGS arguments are unspecified, all tags reported by `git tag` ## will be considered. ## tags=${@:-$(git tag)} for tag in $tags; do git shortlog -n -e -s $tag | cut -f2- | awk "{pr...
Shell
#!/bin/sh set -e astyle --style=java --indent=spaces=2 --indent-switches\ --min-conditional-indent=0 \ --pad-oper --pad-header --unpad-paren \ --align-pointer=name \ --indent-preprocessor --convert-tabs --indent-labels \ --suffix=none --quiet --max-instatement-indent=80 "$@" # Disable...
Shell
#!/bin/bash # Add organization names manually. cat <<EOF # This file is automatically generated from the git commit history # by tools/gen_authors.sh. $(git log --pretty=format:"%aN <%aE>" | sort | uniq) Google Inc. The Mozilla Foundation The Xiph.Org Foundation EOF
Shell
#!/bin/sh self="$0" dirname_self=$(dirname "$self") usage() { cat <<EOF >&2 Usage: $self [option] This script applies a whitespace transformation to the commit at HEAD. If no options are given, then the modified files are left in the working tree. Options: -h, --help Shows this message -n, --dry-run Shows...
Shell
vp9_common_forward_decls() { cat <<EOF /* * VP9 */ #include "vpx/vpx_integer.h" #include "vp9/common/vp9_enums.h" struct macroblockd; /* Encoder forward decls */ struct macroblock; struct vp9_variance_vtable; #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] union int_mv; struct yv12_buffer_config; EOF } forward_d...
Shell
vp8_common_forward_decls() { cat <<EOF /* * VP8 */ struct blockd; struct macroblockd; struct loop_filter_info; /* Encoder forward decls */ struct block; struct macroblock; struct variance_vtable; union int_mv; struct yv12_buffer_config; EOF } forward_decls vp8_common_forward_decls # # system state # prototype void...
Shell
#!/bin/bash ## ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. ## ## Use of this source code is governed by a BSD-style license ## that can be found in the LICENSE file in the root of the source ## tree. An additional intellectual property rights grant can be found ## in the file PATENTS. All...
Shell
#!/bin/bash ## ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. ## ## Use of this source code is governed by a BSD-style license ## that can be found in the LICENSE file in the root of the source ## tree. An additional intellectual property rights grant can be found ## in the file PATENTS. All...
Shell
vpx_scale_forward_decls() { cat <<EOF struct yv12_buffer_config; EOF } forward_decls vpx_scale_forward_decls # Scaler functions if [ "CONFIG_SPATIAL_RESAMPLING" != "yes" ]; then prototype void vp8_horizontal_line_5_4_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int d...
Shell
gcc gui.c -L. -lEE -o gui `pkg-config --libs --cflags gtk+-2.0` `pkg-config --libs --cflags libglade-2.0`
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/bash # # Copyright 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 ...
Shell
#!/bin/sh BLDROOT=$PWD echo " " echo Build root is $BLDROOT #echo "BUILDING HECVM++++++++++++++++++" cd ${BLDROOT}/ZAMVM/ mv ./bin.ZAMVM ./bin.ZAMVM.bak make clean make cp bin.ZAMVM ${BLDROOT}/bin.ZAMVM cd ${BLDROOT} echo "./bin.ZAMVM C.EXE >1" ./bin.ZAMVM C.EXE >1
Shell
#!/bin/sh BLDROOT=/root/src echo "MOV HASHTBL+++++++++++++++++++++" cd ${BLDROOT}/dstruct/hashtbl/ cp ./hashtbl ${BLDROOT}/bin/hashtbl echo "MOV LIST++++++++++++++++++++++++" cd ${BLDROOT}/dstruct/list/ cp ./list ${BLDROOT}/bin/list echo "MOV TREE++++++++++++++++++++++++" cd ${BLDROOT}/dstruct/tree/...
Shell
#!/bin/sh BLDROOT=/root/src echo "MOV HASHTBL+++++++++++++++++++++" cd ${BLDROOT}/dstruct/hashtbl/ cp ./hashtbl ${BLDROOT}/bin/hashtbl echo "MOV LIST++++++++++++++++++++++++" cd ${BLDROOT}/dstruct/list/ cp ./list ${BLDROOT}/bin/list echo "MOV TREE++++++++++++++++++++++++" cd ${BLDROOT}/dstruct/tree/...
Shell
#!/bin/sh BLDROOT=$PWD echo " " echo Build root is $BLDROOT #echo "BUILDING HECVM++++++++++++++++++" cd ${BLDROOT}/ZAMVM/ mv ./bin.ZAMVM ./bin.ZAMVM.bak make clean make cp bin.ZAMVM ${BLDROOT}/bin.ZAMVM cd ${BLDROOT} echo "./bin.ZAMVM C.EXE >1" ./bin.ZAMVM C.EXE >1
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.website.project.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src/org/websi...
Shell
#!/bin/bash # # Copyright 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 ...
Shell
#!/usr/bin/sh # for this to work you need to have the following installed: # - Xcode: http://developer.apple.com/ # - git: http://help.github.com/mac-git-installation/ # - mercurial / hg: http://mercurial.berkwood.com/ # pull three20 cd .. git clone git://github.com/facebook/three20.git # pull mailcore hg clone http:...
Shell
#!/bin/bash # Android Screenshot Library # ############################## # Startup script # echo "Android Screenshot Library -- initializing..." # if [ -z $ANDROID ]; then echo "*** Android SDK not found ***" echo "Make sure the ANDROID variable is pointing to Android SDK root directory" else adb="$AN...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
################################################################################ # There are many resources online to help you make your shell how you want it. # http://grml.org/zsh/zsh-lovers.html has a good compilation of many resources, # including many of the ones cited below. man zsh has a very complete and well #...
Shell
# use zsh instead of csh if we are using an interactive shell and zsh exists # Checking that the prompt is defined is necessary because otherwise, the bootup # shell when physically logging in to a cluster computer won't boot. # CUSTOMIZE(shell) if ( $?prompt && -f /bin/zsh) exec /bin/zsh -l
Shell
#!/usr/bin/env bash echo "This script will add lines in your zshrc, zshenv, vimrc, hgrc, and login to source the files in this repository. That way, you can have computer specific settings (for instance, if you need a command to behave differently on your ubuntu machine than on your mac) in your ~/.zshrc and settings ...
Shell
################################################################################ # NOTE: Most options are in the .zshrc since they only apply to interactive # shells. This is just for the enviornment variables that should be used for # both interactive and non-interactive shells. # # This file was created by Sam King...
Shell
#!/bin/bash # # Copyright 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 ...
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
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
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby@gmail.com) # Purpose: Create new SSL keys. # Project: iRedMail (http://www.iredmail.org/) export HOSTNAME="$(hostname -f)" export ROOTDIR="$(pwd)" # SSL key. export SSL_CERT_FILE="${ROOTDIR}/certs/iRedMail_CA.pem" export SSL_KEY_FILE="${ROOTDIR}/private/...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) # Purpose: Import users to MySQL database from plain text file. # Project: iRedMail (http://www.iredmail.org/) # ------------------------------------------------------------------- # Usage: # * Edit these variables: # STORAGE_BASE_...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby#gmail.com) # Purpose: Add new OpenLDAP user for postfix mail server. # Project: iRedMail (http://www.iredmail.org/) # --------------------------- WARNING ------------------------------ # This script only works under iRedMail >= 0.3.3 due to ldap schema # c...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb@iredmail.org) # Date: 16/09/2007 # Purpose: Backup specified mysql databases with command 'mysqldump'. # License: This shell script is part of iRedMail project, released under # GPL v2. ########################### # REQUIREMENTS #####################...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb@iredmail.org) # Date: 05/02/2010 # Purpose: Dump whole LDAP tree with command 'slapcat'. # License: This shell script is part of iRedMail project, released under # GPL v2. ########################### # REQUIREMENTS ########################### # # *...
Shell
#!/bin/sh # Author: Zhang Huangbin <michaelbibby (at) gmail.com> # Purpose: Send mail to notify user when his mailbox quota exceeds a # specified limit. # Project: iRedMail (http://www.iredmail.org/) PERCENT=$1 cat << EOF | /usr/libexec/dovecot/deliver -d ${USER} -c /etc/dovecot.conf From: postmaster@i...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: y...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: y...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: y...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: y...
Shell
#!/usr/local/bin/bash # Author: Zhang Huangbin (michaelbibby@gmail.com) # PROVIDE: iredapd # REQUIRE: DAEMON # KEYWORD: shutdown . /etc/rc.subr name='iredapd' rcvar=`set_rcvar` BINPATH='/opt/iredapd/src/iredapd.py' CONFIG='/opt/iredapd/etc/iredapd.ini' pidfile='/var/run/iredapd.pid' check_status() { # Usage: c...
Shell
#!/bin/sh # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can red...
Shell
#!/bin/sh # Author: Zhang Huangbin (michaelbibby <at> gmail.com) # Date: 2008.09.05 #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free so...
Shell
#!/usr/bin/env bash #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can redistribute it and/or modify # it under the term...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) # Purpose: Fetch all extra packages we need to build mail server. #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterpri...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> # ------------------------------------------------------- # ------------------- phpLDAPadmin ---------------------- # ------------------------------------------------------- pla_install() { ECHO_INFO "Configure phpLDAPadmin (web-based LDAP...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> # ------------------------------------------- # Install all optional components. # ------------------------------------------- optional_components() { # Roundcubemail. [ X"${USE_RCM}" == X"YES" ] && \ check_status_before_run rc...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> # ----------------------- # Roundcube. # ----------------------- rcm_install() { ECHO_INFO "Configure Roundcube webmail." # FreeBSD: install via ports tree. if [ X"${DISTRO}" != X"FREEBSD" ]; then cd ${MISC_DIR} #...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: y...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: y...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> procmail_config() { ECHO_INFO "Configure Procmail (MDA)." ECHO_DEBUG "Copy ${SAMPLE_DIR}/procmailrc as ${PROCMAILRC}." backup_file ${PROCMAILRC} cp -f ${SAMPLE_DIR}/procmailrc ${PROCMAILRC} ECHO_DEBUG "Add procmail as pos...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) # Purpose: Install & config necessary packages for iRedAPD. #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Lin...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) # Purpose: Install & config necessary packages for iRedAdmin. #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise L...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software:...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <michaelbibby (at) gmail.com> # ------------------------------------------------- # phpMyAdmin. # ------------------------------------------------- phpmyadmin_install() { ECHO_INFO "Configure phpMyAdmin (web-based MySQL management tool)." if [ X"${PHPMYADMIN_USE_...
Shell