mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.html
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<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>
|
||||
@@ -12,4 +13,13 @@
|
||||
</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);
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user