添加国网定制默认安装进有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:
4
install_shell/kdesktoprc
Normal file
4
install_shell/kdesktoprc
Normal file
@@ -0,0 +1,4 @@
|
||||
[Version]
|
||||
KDEVersionMajor=3
|
||||
KDEVersionMinor=5
|
||||
KDEVersionRelease=10
|
||||
6
install_shell/set_default_root.sh
Executable file
6
install_shell/set_default_root.sh
Executable 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
|
||||
4
setup.sh
4
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========"
|
||||
echo "=======Finish========"
|
||||
|
||||
Reference in New Issue
Block a user