diff --git a/install_shell/kdesktoprc b/install_shell/kdesktoprc new file mode 100644 index 0000000..48f4a92 --- /dev/null +++ b/install_shell/kdesktoprc @@ -0,0 +1,4 @@ +[Version] +KDEVersionMajor=3 +KDEVersionMinor=5 +KDEVersionRelease=10 diff --git a/install_shell/set_default_root.sh b/install_shell/set_default_root.sh new file mode 100755 index 0000000..3f7bf94 --- /dev/null +++ b/install_shell/set_default_root.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +sed 's/^GRUB_DEFAULT=1/GRUB_DEFAULT=0/g' /etc/default/grub > /etc/default/grub.bak +mv /etc/default/grub.bak /etc/default/grub +sed 's/^set\ default="1"/set\ default="0"/g' /boot/grub/grub.cfg > /boot/grub/grub.cfg.bak +mv /boot/grub/grub.cfg.bak /boot/grub/grub.cfg diff --git a/setup.sh b/setup.sh index 3c218bd..4852e4b 100755 --- a/setup.sh +++ b/setup.sh @@ -50,10 +50,12 @@ echo "====Set tcsh encode to gb18030..." ./other.sh $1 $2 $3 echo "===Set other===" +./set_default_root.sh +echo "===Set default with-root===" cd cgroup-d5000-install ./set_libcgroup.sh $1 echo "===Set cgroup===" -echo "=======Finish========" \ No newline at end of file +echo "=======Finish========"