Todos after installation of Cygwin.
As you like.
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'org.hidetake:gradle-ssh-plugin:0.4.0' | |
} | |
} | |
apply plugin: 'ssh' |
class RemoteCollectionBuilder extends BuilderSupport { | |
@Override | |
protected Object createNode(Object name, Map attributes, Object value) { | |
println("createNode $name, $attributes, $value") | |
name | |
} | |
@Override | |
protected Object createNode(Object name, Map attributes) { | |
println("createNode $name, $attributes") | |
name |
class Catcher { | |
final Map<String, Closure> nameAndClosure = [:] | |
def methodMissing(String name, args) { | |
assert args.length == 1 | |
assert args[0] instanceof Closure | |
nameAndClosure.put(name, args[0]) | |
} | |
} | |
def remotes(Closure c) { |
export EDITOR=vim | |
PS1='\e[32m\u@\h \e[34m\w \e[33m[\t \d]\e[00m\n$ ' |
sudo vim /etc/ipsec.conf | |
sudo /etc/init.d/ipsec start | |
Checking your system to see if IPsec got installed and started correctly: | |
Version check and ipsec on-path [OK] | |
Linux Openswan U2.6.27/K2.6.34.7-56.40.amzn1.x86_64 (netkey) | |
Checking for IPsec support in kernel [OK] | |
NETKEY detected, testing for disabled ICMP send_redirects [FAILED] | |
Please disable /proc/sys/net/ipv4/conf/*/send_redirects |
#!/bin/sh | |
# initramfs script for Linux 2.6 LVM/RAID | |
echo -e “\x1b[1;32m *\x1b[0m Setting up filesystems” | |
/bin/mount -t proc none /proc | |
/bin/mount -t sysfs none /sys | |
/bin/mount -t tmpfs none /dev | |
/bin/mount -t tmpfs none /etc | |
/sbin/mdev -s |