Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > c97dc9818c994cda61d707ef78cf9a45 > files > 25

greensql-fw-1.1.0-1mdv2010.0.x86_64.rpm

#!/bin/sh

if [ "$(id -u)" != "0" ]; then
    echo
    echo "Please run this script as root"
    echo
    exit 1
fi

mkdir -p /etc/greensql
cp ../conf/* /etc/greensql/ -r
chown greensql:greensql /etc/greensql -R
chmod 700 /etc/greensql
echo "done..."