Files
StateGrid/setup.sh
Qin Bo 39d88f389f modified: install_shell/audit_patch.sh
deleted:    install_shell/cgroup-d5000-install/42-2014-01-15-062120/README
	deleted:    install_shell/cgroup-d5000-install/42-2014-01-15-062120/install.sh
	modified:   install_shell/cgroup-d5000-install/install.sh
	modified:   install_shell/create_users.sh
	modified:   install_shell/ntpd_cron_patch.sh
	modified:   install_shell/other.sh
	modified:   install_shell/set_network.sh
	modified:   install_shell/set_ssh.sh
	modified:   setup.sh

Signed-off-by: Qin Bo <bqin@linx-info.com>
2014-02-19 11:12:45 +08:00

69 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
#Script
cd install_shell
if [ $# -lt 3 ];then
echo -e "Please enter the user name,user's home directory,user's shell!\n"
echo -e "example:\n$0 d5000 /home/d5000/huazhong tcsh"
echo -e "or"
echo -e "example:\n$0 kingsoft /home/kingsoft/huazhong bash"
echo -e "or"
echo -e "example:\n$0 ems /users/ems tcsh"
exit 1
else
./create_users.sh $1 $2 $3
echo "====Create users...."
fi
./set_network.sh
echo "====Set Bonding..."
./set_kernel.sh
echo "====Set Kernel parameters..."
./set_ssh.sh $1 $2 $3
echo "====Set ssh...."
./ntpd_cron_patch.sh
echo "====Set ntp client..."
./audit_patch.sh $1 $2 $3
echo "====Set audit.rules ..."
./set_fonts.sh
echo "====add fonts===="
./set_limits.conf.sh
echo "====Set limits.conf===="
./set_recycling-station.sh
echo "===Set trash recycling station==="
./set_fstab.sh
echo "===Set /etc/fstab==="
#./install_tool.sh
#echo "===instll update packages==="
./set_close_ipv6.sh
echo "===close ipv6 ip==="
./set_fcitx.sh fcitx
echo "====Set fonts & Input method..."
./other.sh $1 $2 $3
echo "===Set other==="
./set_linux-pam.sh
echo "===Set pam_cracklib.so and pam_tally.so ==="
cd cgroup-d5000-install
./install.sh $1 $2 $3
echo "===Set cgroup==="
echo "=======Finish========"