Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
raT
backupninja
Commits
8bc9312e
Commit
8bc9312e
authored
19 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
handlers/sys: start to use new lib/vserver functionality
parent
435e859a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-1
2 additions, 1 deletion
ChangeLog
handlers/sys
+7
-11
7 additions, 11 deletions
handlers/sys
with
9 additions
and
12 deletions
ChangeLog
+
2
−
1
View file @
8bc9312e
...
...
@@ -7,7 +7,8 @@ version 0.9.3 -- unreleased
code refactor:
. now uses vservers lib to initialize vservers support
handler changes
duplicity, mysql, pgsql, rdiff, svn: use new lib/vserver functionality
duplicity, mysql, pgsql, rdiff, svn, sys: start to use (at different
degrees) new lib/vserver functionality
mysql:
. fixed no user defaults file processing
duplicity:
...
...
This diff is collapsed.
Click to expand it.
handlers/sys
+
7
−
11
View file @
8bc9312e
...
...
@@ -33,23 +33,19 @@ getconf sfdisk_options ""
getconf hwinfo_options
""
# See if vservers are configured
if
[
"
$vservers
"
=
"yes"
]
local
usevserver
=
no
if
[
$vservers_are_available
=
yes
]
then
if
[
!
-d
$VROOTDIR
]
then
fatal
"vservers enabled, but
$VROOTDIR
does not exist!"
else
info
"vserver method enabled"
usevserver
=
1
fi
usevserver
=
yes
fi
if
[
"
$packages
"
==
"yes"
]
;
then
if
[
$usevserver
]
if
[
$usevserver
=
yes
]
then
nodpkg
=
"lost+found|ARCHIVES"
info
"vserver root directory set to:
$VROOTDIR
"
for
vserver
in
`
ls
$VROOTDIR
|
grep
-E
-v
$nodpkg
`
for
vserver
in
$found_vservers
do
info
"examining vserver:
$vserver
"
running
=
`
$VSERVERINFO
$vserver
RUNNING
`
...
...
@@ -97,7 +93,7 @@ fi
#
if
[
"
$packages
"
==
"yes"
]
;
then
if
[
$usevserver
]
if
[
$usevserver
=
yes
]
then
for
vserver
in
`
ls
$VROOTDIR
|
grep
-E
-v
$nodpkg
`
do
...
...
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