Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Fabio Hernandez
lsst-cvmfs
Commits
3abe7fdd
Commit
3abe7fdd
authored
Dec 09, 2015
by
Fabio Hernandez
Browse files
Limit check of preconfigured CernVM FS client to lsst.in2p3.fr
parent
1c0be549
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
configure.sh
configure.sh
+4
-3
No files found.
configure.sh
View file @
3abe7fdd
...
...
@@ -24,9 +24,10 @@ fi
# Configure CernVM FS
# WARNING: make sure we don't overwrite any existing configuration, different
# than ours
if
[
-e
/etc/cvmfs/default.local
]
;
then
diff
"/etc/cvmfs/default.local"
"default.local"
>
/dev/null 2>&1
if
[
$?
-ne
0
]
;
then
localConfig
=
"/etc/cvmfs/default.local"
if
[
-e
${
localConfig
}
]
;
then
repos
=
`
grep
CVMFS_REPOSITORIES
${
localConfig
}
|
sed
s/CVMFS_REPOSITORIES
=
//g
`
if
[
-n
$repos
]
&&
[
$repos
!=
"lsst.in2p3.fr"
]
;
then
echo
"CernVM FS seems to be already configured in this machine in a potentially incompatible way"
echo
"see file /etc/cvmfs/default.local"
exit
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment