Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
debian-edu-config
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Edu
debian-edu-config
Commits
9dad2e49
Commit
9dad2e49
authored
5 years ago
by
Wolfgang Schweer
Browse files
Options
Downloads
Patches
Plain Diff
Remove BUNDLECRT file if ROOTCACRT file has been downloaded.
Signed-off-by:
Wolfgang Schweer
<
wschweer@arcor.de
>
parent
567ed6d7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/debian-edu-config.fetch-ldap-cert
+5
-5
5 additions, 5 deletions
debian/debian-edu-config.fetch-ldap-cert
with
5 additions
and
5 deletions
debian/debian-edu-config.fetch-ldap-cert
+
5
−
5
View file @
9dad2e49
...
...
@@ -75,11 +75,11 @@ do_start() {
gnutls-cli
--x509cafile
$ROOTCACRT
--save-cert
=
$CERTFILE
.new
$LDAPSERVER
< /dev/null 1>/dev/null 2>/dev/null
logger
-t
fetch-ldap-cert
"Fetched rootCA certificate from www.intern."
#
FIXME:
If the host previously had got the BUNDLECERT file installed,
# we
should
make sure here to have it removed. From now on, the LTSP chroot
# If the host previously had got the BUNDLECERT file installed,
# we make sure here to have it removed. From now on, the LTSP chroot
# can operate on the ROOTCACRT file and the BUNDLECERT will never get
# update anymore once the ROOTCACRT is available on www.intern.
rm
-f
$BUNDLECRT
else
# If there is no Debian Edu RootCA available on www.intern, fallback to
...
...
@@ -204,11 +204,11 @@ do_start() {
log_action_begin_msg
"Copying Debian Edu rootCA certificate to ltsp-chroot
$ltsp_chroot
"
if
test
-s
$ROOTCACRT
;
then
#
FIXME:
If the chroot previously had got the BUNDLECERT file installed,
# If the chroot previously had got the BUNDLECERT file installed,
# we should make sure here to have it removed. From now on, the LTSP chroot
# can operate on the ROOTCACRT file and the BUNDLECERT will never get
# update anymore once the ROOTCACRT is available on www.intern.
rm
-f
$ltsp_chroot$BUNDLECRT
cp
$ROOTCACRT
$ltsp_chroot$ROOTCACRT
[
"
$VERBOSE
"
!=
no
]
&&
log_action_end_msg 0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment