Added version to all files, create .new Custom file if already there
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
# Routines to be editted by the developer to provide validation for parameters
|
||||
# and provison of the control data for table(s)
|
||||
#
|
||||
# Generated by SM2Gen version:${version}
|
||||
#
|
||||
#$cdb=$main::cdb;
|
||||
#$adb=$main::adb;
|
||||
#$ndb=$main::ndb;
|
||||
|
49
Targets/Nfsshare-Custom.pm.new
Normal file
49
Targets/Nfsshare-Custom.pm.new
Normal file
@@ -0,0 +1,49 @@
|
||||
#
|
||||
# Routines to be editted by the developer to provide validation for parameters
|
||||
# and provison of the control data for table(s)
|
||||
#
|
||||
#$cdb=$main::cdb;
|
||||
#$adb=$main::adb;
|
||||
#$ndb=$main::ndb;
|
||||
#$hdb=$main::hdb;
|
||||
#$ddb=$main::ddb;
|
||||
|
||||
use esmith::util;
|
||||
use esmith::HostsDB;
|
||||
use esmith::AccountsDB;
|
||||
use esmith::NetworksDB;
|
||||
use esmith::HostsDB;
|
||||
use esmith::DomainsDB;
|
||||
|
||||
|
||||
#The most common ones
|
||||
our $cdb = esmith::ConfigDB->open() || die("Couldn't open config db");
|
||||
our $adb = esmith::AccountsDB->open() || die("Couldn't open Accounts db");
|
||||
our $ndb = esmith::NetworksDB->open() || die("Couldn't open Network db");
|
||||
our $hdb = esmith::HostsDB->open() || die("Couldn't open Hosts db");
|
||||
our $ddb = esmith::DomainsDB->open() || die("Couldn't open Domains db");
|
||||
|
||||
# Validation routines - parameters for each panel
|
||||
|
||||
sub validate_PARAMS {
|
||||
$ret = 'ok';
|
||||
return $ret;
|
||||
}
|
||||
|
||||
sub validate_TABLE {
|
||||
$ret = 'ok';
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
||||
# Get control data for tables(s)
|
||||
|
||||
sub get_ibays {
|
||||
return []
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
||||
|
||||
|
@@ -1,22 +1,22 @@
|
||||
'nfs_These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays//files' => 'These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays//files'
|
||||
'nfs_For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).' => 'For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).'
|
||||
'nfs_Share owner Group' => 'Share owner Group'
|
||||
'nfs_Squash the power of users' => 'Squash the power of users'
|
||||
'nfs_$thispanel successfull message' => '$thispanel successfull message'
|
||||
'nfs Hello TABLE' => 'Hello TABLE'
|
||||
'nfs_Set the UID.' => 'Set the UID.'
|
||||
'nfs_NFS Client(s) allowed' => 'NFS Client(s) allowed'
|
||||
'nfs Hello PARAMS' => 'Hello PARAMS'
|
||||
'nfs_Delays the disk writing' => 'Delays the disk writing'
|
||||
'nfs_Save' => 'Save'
|
||||
'nfs_Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank' => 'Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank'
|
||||
'nfs_EnableShare on local network' => 'EnableShare on local network'
|
||||
'nfs_Set the GID.' => 'Set the GID.'
|
||||
'nfs_APPLY' => 'APPLY'
|
||||
'nfs_NFS data share' => 'NFS data share'
|
||||
'nfs_File system permissions' => 'File system permissions'
|
||||
'nfs_Requests on secure ports' => 'Requests on secure ports'
|
||||
'nfs_$thispanel successfull message' => '$thispanel successfull message'
|
||||
'nfs Hello TABLE' => 'Hello TABLE'
|
||||
'nfs_For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).' => 'For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).'
|
||||
'nfs_Write (a)synchronously' => 'Write (a)synchronously'
|
||||
'nfs_Delays the disk writing' => 'Delays the disk writing'
|
||||
'nfs_Share owner Group' => 'Share owner Group'
|
||||
'nfs_File system permissions' => 'File system permissions'
|
||||
'nfs_EnableShare on local network' => 'EnableShare on local network'
|
||||
'nfs_Squash the power of users' => 'Squash the power of users'
|
||||
'nfs_Set the GID.' => 'Set the GID.'
|
||||
'nfs_These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays//files' => 'These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays//files'
|
||||
'nfs_Enable the NFS Share' => 'Enable the NFS Share'
|
||||
'nfs_APPLY' => 'APPLY'
|
||||
'nfs_Requests on secure ports' => 'Requests on secure ports'
|
||||
'nfs_Browse the parent folders' => 'Browse the parent folders'
|
||||
'nfs_NFS Client(s) allowed' => 'NFS Client(s) allowed'
|
||||
'nfs Hello PARAMS' => 'Hello PARAMS'
|
||||
'nfs_Information Bay name' => 'Information Bay name'
|
||||
'nfs_Set the UID.' => 'Set the UID.'
|
||||
|
Reference in New Issue
Block a user