code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # # install - install a program, script, or datafile # # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, t...
Shell
#!/bin/bash # release # #{{IS_NOTE # Purpose: # # Description: # # History: # Mon Nov 14 14:29:09 2005, Created by tomyeh #}}IS_NOTE # #Copyright (C) 2005 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT #}}IS_RIGHT # maindir="$(pwd)" cd $maindir echo "Working directory $maindir" stamp=$(date +%Y-%m-%d) ...
Shell
#!/bin/bash # #{{IS_NOTE # Purpose: # To build java projects # Description: # 'build help' for more descriptions # History: # March 29 15:11 2001, Created by tomyeh # August 21 13:59 2002, Rewritten by tomyeh #}}IS_NOTE # #Copyright (C) 2002 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT # This program is di...
Shell
#!/bin/bash # release # #{{IS_NOTE # Purpose: # # Description: # # History: # Mon Nov 14 14:29:09 2005, Created by tomyeh #}}IS_NOTE # #Copyright (C) 2005 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT #}}IS_RIGHT # maindir="$(pwd)" cd $maindir echo "Working directory $maindir" stamp=$(date +%Y-%m-%d) ...
Shell
#!/bin/bash # #{{IS_NOTE # Purpose: # To build java projects # Description: # 'build help' for more descriptions # History: # March 29 15:11 2001, Created by tomyeh # August 21 13:59 2002, Rewritten by tomyeh #}}IS_NOTE # #Copyright (C) 2002 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT # This program is di...
Shell
#!/bin/bash # release # #{{IS_NOTE # Purpose: # # Description: # # History: # Mon Nov 14 14:29:09 2005, Created by tomyeh #}}IS_NOTE # #Copyright (C) 2005 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT #}}IS_RIGHT # maindir="$(pwd)" cd $maindir echo "Working directory $maindir" stamp=$(date +%Y-%m-%d) ...
Shell
#!/bin/bash # #{{IS_NOTE # Purpose: # To build java projects # Description: # 'build help' for more descriptions # History: # March 29 15:11 2001, Created by tomyeh # August 21 13:59 2002, Rewritten by tomyeh #}}IS_NOTE # #Copyright (C) 2002 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT # This program is di...
Shell
#!/bin/bash # release # #{{IS_NOTE # Purpose: # # Description: # # History: # Mon Nov 14 14:29:09 2005, Created by tomyeh #}}IS_NOTE # #Copyright (C) 2005 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT #}}IS_RIGHT # maindir="$(pwd)" cd $maindir echo "Working directory $maindir" stamp=$(date +%Y-%m-%d) ...
Shell
#!/bin/bash # #{{IS_NOTE # Purpose: # To build java projects # Description: # 'build help' for more descriptions # History: # March 29 15:11 2001, Created by tomyeh # August 21 13:59 2002, Rewritten by tomyeh #}}IS_NOTE # #Copyright (C) 2002 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT # This program is di...
Shell
#!/bin/bash # release # #{{IS_NOTE # Purpose: # # Description: # # History: # Mon Nov 14 14:29:09 2005, Created by tomyeh #}}IS_NOTE # #Copyright (C) 2005 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT #}}IS_RIGHT # maindir="$(pwd)" cd $maindir echo "Working directory $maindir" stamp=$(date +%Y-%m-%d) ...
Shell
#!/bin/bash # #{{IS_NOTE # Purpose: # To build java projects # Description: # 'build help' for more descriptions # History: # March 29 15:11 2001, Created by tomyeh # August 21 13:59 2002, Rewritten by tomyeh #}}IS_NOTE # #Copyright (C) 2002 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT # This program is di...
Shell
#!/bin/bash # release # #{{IS_NOTE # Purpose: # # Description: # # History: # Mon Nov 14 14:29:09 2005, Created by tomyeh #}}IS_NOTE # #Copyright (C) 2005 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT #}}IS_RIGHT # maindir="$(pwd)" cd $maindir echo "Working directory $maindir" stamp=$(date +%Y-%m-%d) ...
Shell
#!/bin/bash # #{{IS_NOTE # Purpose: # To build java projects # Description: # 'build help' for more descriptions # History: # March 29 15:11 2001, Created by tomyeh # August 21 13:59 2002, Rewritten by tomyeh #}}IS_NOTE # #Copyright (C) 2002 Potix Corporation. All Rights Reserved. # #{{IS_RIGHT # This program is di...
Shell
#!/bin/sh gmcs src/zencoder.cs -pkg:gtk-sharp-2.0 -resource:data/zen.png -out:bin/zencoder.exe
Shell
#!/bin/sh gmcs src/zencoder.cs -pkg:gtk-sharp-2.0 -resource:data/zen.png -out:bin/zencoder.exe
Shell
#!/bin/sh gmcs src/zencoder.cs -pkg:gtk-sharp-2.0 -resource:data/zen.png -out:bin/zencoder.exe
Shell
#!/bin/sh gmcs src/zencoder.cs -pkg:gtk-sharp-2.0 -resource:data/zen.png -out:bin/zencoder.exe
Shell
#!/bin/sh if [ `uname` = "Darwin" ]; then rm -rf flowabs.app flowabs.dmg qmake -spec macx-g++ -config release make macdeployqt flowabs.app -dmg else qmake -config release make fi
Shell
doctrinesvnorm="http://svn.github.com/doctrine/doctrine2.git" doctrinesvndbal="http://svn.github.com/doctrine/dbal.git" doctrinesvncommon="http://svn.github.com/doctrine/common.git" zfsvn="http://framework.zend.com/svn/framework/standard/trunk" zfdisvn="http://zf-doctrine-integrator.googlecode.com/svn/trunk" echo "Wel...
Shell
#!/bin/bash # Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. # This script is a sample hook to test the plumbing EXIT_CODE=0 echo "TABLET_ALIAS:" $TABLET_ALIAS for arg in $@ ; do echo "PARAM:" $arg if [ "$ar...
Shell
#!/bin/bash # Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. if [ ! -f bootstrap.sh ]; then echo "bootstrap.sh must be run from its current directory" 1>&2 exit 1 fi . ./dev.env diff misc/hg/hooks.hgrc .hg/hg...
Shell
#!/bin/bash changelog_count=$(hg outgoing | grep '^changeset:' | wc -l) non_merge_count=$(hg outgoing -M | grep '^changeset:' | wc -l) if [ $changelog_count != $non_merge_count ]; then echo "outgoing files contain merges - reapply as a fresh patch" >&2 echo "run ./misc/hg/reapply-outgoing to fix" >&2 exit 1 fi
Shell
#!/bin/bash fmt_errs=$(hg st -A | awk '$1 ~ /[ACM]/ && $2 ~ /go$/ { print $2 }' | xargs gofmt -l) #fmt_errs=$(find . -name '*.go' -exec gofmt -l {} \;) err_count=$(echo $fmt_errs | awk '{print NF}') if [ "$err_count" != 0 ]; then echo "gofmt errors: $err_count" >&2 echo "$fmt_errs" >&2 echo "run ./misc/hg/gofmt...
Shell
#!/bin/bash find . -name '*.go' -exec gofmt -w {} \;
Shell
#!/bin/bash # Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. # simple wrapper for starting up zookeeper so it detaches from the parent # process and ingnores signals logdir="$1" config="$2" pidfile="$3" classpath...
Shell
#!/bin/bash set -e # fail early function die() { echo "Error: " $* echo echo "USage: $0 [dest]" exit 1 } shopt -s extglob # extended glob pattern function process() { SRC="$1" BASE="${SRC/.apk/}" DATE=`date +%Y%m%d` N=1 while /bin/true; do EXT=`python -c "print chr(96+$N)"` DEST="${BASE}_${DATE...
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/sh for i in `find . -name ".svn"`; do echo "removendo $i"; rm -rf $i; done;
Shell
#!/bin/sh for i in `find . -name ".svn"`; do echo "removendo $i"; rm -rf $i; done;
Shell
#!/bin/sh if [ `uname` = "Darwin" ]; then rm -rf flowabs.app flowabs.dmg qmake -spec macx-g++ -config release make macdeployqt flowabs.app -dmg else qmake -config release make fi
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash # Test a device with snmpwalk -v1 -c public x.x.x.x SECS=5 # I don't have the MIB database on latest Ubuntu (argh!) ifInOctets="iso.3.6.1.2.1.2.2.1.10" ifOutOctets="iso.3.6.1.2.1.2.2.1.16" sysName="iso.3.6.1.2.1.1.5.0" upTime="iso.3.6.1.2.1.1.3.0" SECRET=$1 if [ -z $SECRET ]; then . ~/.sprouters 2>/...
Shell
#!/bin/bash # # Copyright (C) 2007 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 ap...
Shell
#!/bin/bash # # Copyright (C) 2007 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 ap...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb@iredmail.org) #--------------------------------------------------------------------- # 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 re...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) # 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/iRe...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) # Purpose: Import users to MySQL database from plain text file. # Project: iRedMail (http://www.iredmail.org/) # ------------------------------------------------------------------- # Usage: # * Edit these variables: # STORAGE_BASE_DIRECTOR...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) # 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 # chan...
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 <zhb(at)iredmail.org> # 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@iredmail....
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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 r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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 r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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 r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Purpose: Mail to user when his/her quota exceeds specified percentage. # Reference: http://wiki2.dovecot.org/Quota/Configuration#Quota_warnings PERCENT=${1} USER=${2} # Use "plugin/quota=maildir:User quota:noenforcing" for maildir quota. cat << EOF | PH_DOVECOT_DELIVER -d ${USER} -o "plugin/quot...
Shell
#!/bin/sh # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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 redistribut...
Shell
#!/bin/sh # Author: Zhang Huangbin (zhb(at)iredmail.org) # 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 software: ...
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 (zhb(at)iredmail.org) # 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) Enterprise Linux...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ------------------------------------------------------- # ------------------- phpLDAPadmin ---------------------- # ------------------------------------------------------- pla_install() { ECHO_INFO "Configure phpLDAPadmin (web-based LDAP managem...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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 r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ------------------------------------------- # Install all optional components. # ------------------------------------------- optional_components() { # Roundcubemail. [ X"${USE_RCM}" == X"YES" ] && \ check_status_before_run rcm_instal...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ----------------------- # Roundcube. # ----------------------- rcm_install() { ECHO_INFO "Configure Roundcube webmail." # FreeBSD: install via ports tree. if [ X"${DISTRO}" != X"FREEBSD" ]; then cd ${MISC_DIR} # Extract...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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 r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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 r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) # 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 Linux, Cent...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) # 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 Linux, Ce...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ------------------------------------------------- # phpMyAdmin. # ------------------------------------------------- phpmyadmin_install() { ECHO_INFO "Configure phpMyAdmin (web-based MySQL management tool)." if [ X"${PHPMYADMIN_USE_SOURCE}"...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # --------------------------------------------------------- # SpamAssassin. # --------------------------------------------------------- sa_config() { ECHO_INFO "Configure SpamAssassin (content-based spam filter)." backup_file ${SA_LOCAL_CF} ...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # 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 r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org). # Date: 2008.04.07 # --------------------------------------------- # Policyd. # --------------------------------------------- policyd_user() { ECHO_INFO "Configure Policyd (postfix policy daemon)." ECHO_DEBUG "Add user and group for pol...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ------------------------------------------------------- # ---------------- User/Group: vmail -------------------- # ------------------------------------------------------- adduser_vmail() { ECHO_INFO "Configure User/Group: vmail." homedir="...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # 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...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) # Purpose: Remove main components which installed by iRedMail, so that # you can re-install iRedMail. # Project: iRedMail (http://www.iredmail.org/) # ------------ USAGE -------- # Execute this file in the current directory. # # ...
Shell
#!/bin/sh # ========================================================= # Author: Zhang Huangbin (michaelbibby@gmail.com) # Date: 2009.07.28 # Purpose: Track user last login date & ip address with Dovecot. # Project: iRedMail open source mail server solution. # http://www.iredmail.org/ # ==============...
Shell