Simple Linux Panel
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.
mdserver-web/plugins/swap/index.html

25 lines
699 B

4 years ago
<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>
4 years ago
</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=/swapfile bs=1M count=2048</li>';
readme += '<li>mkswap /swapfile</li>';
readme += '</ul>';
$('.soft-man-con').html(readme);
}
4 years ago
</script>