mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
731 B
25 lines
731 B
<div class="bt-form">
|
|
<div class="bt-w-main">
|
|
<div class="bt-w-menu">
|
|
<p class="bgw" onclick="pluginService('swap');">服务</p>
|
|
<p onclick="pluginInitD('swap');">自启动</p>
|
|
<!-- <p onclick="pluginConfig('swap');">配置修改</p> -->
|
|
<p onclick="readme();">说明</p>
|
|
</div>
|
|
<div class="bt-w-con pd15">
|
|
<div class="soft-man-con"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
pluginService('swap');
|
|
|
|
|
|
function readme(){
|
|
var readme = '<ul class="help-info-text c7">';
|
|
readme += '<li>dd if=/dev/zero of=/www/server/swap/swapfile bs=1M count=2048</li>';
|
|
readme += '<li>mkswap /www/server/swap/swapfile</li>';
|
|
readme += '</ul>';
|
|
$('.soft-man-con').html(readme);
|
|
}
|
|
</script> |