| Server IP : 189.126.111.107 / Your IP : 216.73.217.69 Web Server : Apache System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 User : gadotticar ( 1000) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/usermin/usermount/ |
Upload File : |
# usermount-lib.pl
# Common functions for mounting and unmounting filesystems with the 'user'
# option set.
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
&switch_to_remote_user();
do 'linux-lib.pl';
# parse_options(type, options)
# Convert an options string for some filesystem into the associative
# array %options
sub parse_options
{
local($_);
undef(%options);
if ($_[1] ne "-") {
foreach (split(/,/, $_[1])) {
if (/^([^=]+)=(.*)$/) { $options{$1} = $2; }
else { $options{$_} = ""; }
}
}
}
1;