view scripts/sysctl-install.sh @ 0:9e5a3c884de6

Initial import of the virtual testbed.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 17 Jun 2010 11:00:32 +0900
parents
children
line wrap: on
line source

#!/bin/bash -x

# Check configuration file is there
if [ ! -d "/home/aaa/conf/`hostname --fqdn`/sysctl.d" ]; 
then echo "Missing configuration files"; exit 1;
fi

# Copy configuration
cp -f /home/aaa/conf/`hostname --fqdn`/sysctl.d/99-testbedaaa.conf /etc/sysctl.d/99-testbedaaa.conf

# Refresh the configuration
invoke-rc.d procps start



"Welcome to our mercurial repository"