From 9ba85d5dc63dfd1e16b9ec85d532fe89ee58fd9b Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 17 Jun 2007 10:29:17 +0000 Subject: largish change with respect to configurable paths: * instead of supporting configurable paths at different hierarchy levels, there are now only five configurable folder: + base-path (/opt/openslx), fixed at installation time + config-path (/etc/opt/openslx), fixed at installation time + private-path (/var/opt/openslx), freely configurable by user + public-path (/srv/openslx), freely configurable by user + temp-path (/tmp), freely configurable by user this closes ticket#143 * several holes have been plugged concerning the creation of folders before they are accessed, closing ticket#142 * the functionality of generating config default folders has been moved from the Makefile into a new Perl-module (ConfigFolder.pm), in order to be available to the Perl-scripts, too * slxsettings has been changed to reflect the nature of base-path and config-path as fixed paths git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1172 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/slxos-export | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'installer/slxos-export') diff --git a/installer/slxos-export b/installer/slxos-export index 91c81706..a29f2b4e 100755 --- a/installer/slxos-export +++ b/installer/slxos-export @@ -72,7 +72,7 @@ if ($action =~ m[^list-ex]i) { # filter out RSYNC_TMP folders: $_ !~ m[###]; } - sort <$openslxConfig{'export-path'}/$type/*>); + sort <$openslxConfig{'public-path'}/export/$type/*>); } } elsif ($action =~ m[^list-in]i) { print _tr("List of installed vendor-OSes:\n"); @@ -80,7 +80,7 @@ if ($action =~ m[^list-ex]i) { s[^.+/][]; "\t$_\n"; } - sort <$openslxConfig{'stage1-path'}/*>); + sort <$openslxConfig{'private-path'}/stage1/*>); } elsif ($action =~ m[^list-ty]i) { print _tr("List of supported export types:\n\t"); print join("\n\t", sort keys %supportedExportTypes)."\n"; @@ -275,23 +275,14 @@ slxsettings, slxos-setup, slxconfig, slxconfig-demuxer Being a part of OpenSLX, this script supports several other options which can be used to overrule the OpenSLX settings: - --base-path= basic path to project files - --bin-path= path to binaries and scripts - --config-path= path to configuration files - --db-basepath= basic path to openslx database - --db-datadir= data folder created under db-basepath --db-name= name of database --db-spec= full DBI-specification of database --db-type= type of database to connect to - --export-path= path to root of all exported filesystems --locale= locale to use for translations --logfile= file to write logging output to --private-path= path to private data --public-path= path to public (client-accesible) data - --share-path= path to sharable data - --stage1-path= path to stage1 systems --temp-path= path to temporary data - --tftpboot-path= path to root of tftp-server --verbose-level= level of logging verbosity (0-3) Please refer to the C-manpage for a more detailed description -- cgit v1.2.3-55-g7522