mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 08:29:51 -06:00
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
Menu="NetworkServices:2"
|
|
Title="NFS"
|
|
Icon="icon-linux"
|
|
Tag="linux"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2005-2020, Lime Technology
|
|
* Copyright 2012-2020, Bergware International.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License version 2,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*/
|
|
?>
|
|
<script>
|
|
function checkNFSenable() {
|
|
var form = document.nfs_enable;
|
|
form.fuse_remember.disabled = form.shareNFSEnabled.value=="_(no)_";
|
|
}
|
|
$(checkNFSenable);
|
|
</script>
|
|
|
|
<form markdown="1" name="nfs_enable" method="POST" action="/update.htm" target="progressFrame">
|
|
_(Enable NFS)_:
|
|
: <select name="shareNFSEnabled" onchange="checkNFSenable()">
|
|
<?=mk_option($var['shareNFSEnabled'], "no", _('No'));?>
|
|
<?=mk_option($var['shareNFSEnabled'], "yes", _('Yes'));?>
|
|
</select>
|
|
|
|
:nfs_enable_help:
|
|
|
|
_(Tunable (fuse_remember))_:
|
|
: <input type="text" name="fuse_remember" maxlength="10" value="<?=$var['fuse_remember']?>" class="narrow"><?=_($var['fuse_remember_status'])?>
|
|
|
|
:nfs_tunable_fuse_remember_help:
|
|
|
|
|
|
: <input type="submit" name="changeShare" value="_(Apply)_" disabled><input type="button" value="_(Done)_" onclick="done()">
|
|
</form> |