jebbs 发表于 2014-12-10 18:43
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=349361&extra=page%3D1
如果是判断启动的GRUB2的环境 ...
2011phzhc 发表于 2014-12-10 19:22
用if [ "${grub_cpu}" == "x86_64" ]; then和if [ "${grub_cpu}" == "i386" ]; then判断cpu是32位还是64 ...
jebbs 发表于 2014-12-11 08:31
在32位中没有意义吧,64位的CPU,也可以运行32位的系统,用32位就不会错
欢迎光临 无忧启动论坛 (http://wuyou.net./) | Powered by Discuz! X3.3 |