|
本帖最后由 yumin9822 于 2015-4-21 11:43 编辑
看看lz是怎么实现的!发现LZ的第一个脚本有问题。
- wget http://download.wdc.com/nas/sq-040000-607-20140630.deb -O /DataVolume/shares/Public/sq-040000-607-20140630.deb
- echo "02.02.02-111" >/etc/version;
- cd /DataVolume/shares/Public/
- chmod +x sq-030401-230-20140415.deb
- dpkg -i /DataVolume/shares/Public/sq-030401-230-20140415.deb
复制代码
觉得应该是
- wget http://download.wdc.com/nas/sq-040000-607-20140630.deb -O /DataVolume/shares/Public/sq-040000-607-20140630.deb
- echo "02.02.02-111" >/etc/version;
- cd /DataVolume/shares/Public/
- chmod +x sq-040000-607-20140630.deb
- dpkg -i /DataVolume/shares/Public/sq-040000-607-20140630.deb
复制代码 其实理论上只要运行第二个脚本就可以,实现降级到3.0,不知道为什么需要先降到4.0.
推荐如下:
- wget http://download.wdc.com/nas/sq-030401-230-20140415.deb -O /DataVolume/shares/Public/sq-030401-230-20140415.deb
- echo "02.02.02-111" > /etc/version
- dpkg -i /DataVolume/shares/Public/sq-030401-230-20140415.deb
复制代码
over
|
|