添加国网定制默认安装进有root,添加40选项安装修改

new file:   install_shell/kdesktoprc
	new file:   install_shell/set_default_root.sh
	modified:   setup.sh

Signed-off-by: Xu, Shunxuan <sxxu@linx-info.com>
This commit is contained in:
Xu, Shunxuan
2018-11-06 11:23:40 +08:00
parent 591be5e8a8
commit 97d0d3af48
3 changed files with 13 additions and 1 deletions

4
install_shell/kdesktoprc Normal file
View File

@@ -0,0 +1,4 @@
[Version]
KDEVersionMajor=3
KDEVersionMinor=5
KDEVersionRelease=10

View File

@@ -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

View File

@@ -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========"
echo "=======Finish========"