Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
comp-backup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ITS
comp-backup
Commits
b2281e24
Commit
b2281e24
authored
1 month ago
by
hench
Browse files
Options
Downloads
Patches
Plain Diff
Minor bugfix with serial and logfile_short.txt
parent
3f855856
Loading
Loading
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
comp-backup-install.sh
+1
-0
1 addition, 0 deletions
comp-backup-install.sh
with
1 addition
and
0 deletions
comp-backup-install.sh
+
1
−
0
View file @
b2281e24
...
@@ -266,6 +266,7 @@ fi
...
@@ -266,6 +266,7 @@ fi
if
[
-f
"
$SERIAL
"
]
;
then
if
[
-f
"
$SERIAL
"
]
;
then
scp
-i
$SSHKEY
$SERIAL
$RUSER
@
$TARGETNODE
:
$RHOME
/
$SCRIPTNAME
/
$HOST
/ &>/dev/null
scp
-i
$SSHKEY
$SERIAL
$RUSER
@
$TARGETNODE
:
$RHOME
/
$SCRIPTNAME
/
$HOST
/ &>/dev/null
echo
-e
"[computer serial]"
$G_
"OK"
$_N
echo
-e
"[computer serial]"
$G_
"OK"
$_N
SERIALNO
=
$(
cat
$SERIAL
)
else
else
SERIALNO
=
"_"
SERIALNO
=
"_"
fi
fi
...
...
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