Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
le4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Linux Educacional 4
le4
Commits
c72b0793
Commit
c72b0793
authored
11 years ago
by
Lior Spach
Browse files
Options
Downloads
Patches
Plain Diff
le-pregao-712010: Refs #1280 Corrected syntax error (etc/init.d/pregao71)
Signed-off-by:
Lior Spach
<
ls12@inf.ufpr.br
>
parent
9f95a688
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
le-pregao-712010/VERSAO
+1
-1
1 addition, 1 deletion
le-pregao-712010/VERSAO
le-pregao-712010/pacote/etc/init.d/pregao71
+3
-3
3 additions, 3 deletions
le-pregao-712010/pacote/etc/init.d/pregao71
with
4 additions
and
4 deletions
le-pregao-712010/VERSAO
+
1
−
1
View file @
c72b0793
1.0.1
1
1.0.1
2
This diff is collapsed.
Click to expand it.
le-pregao-712010/pacote/etc/init.d/pregao71
+
3
−
3
View file @
c72b0793
...
...
@@ -5,7 +5,7 @@ if dpkg -l le-pregao-712010 | grep -q ^ii; then
if
test
-f
"/var/log/le-oldkernelversion"
;
then
# if we know old kernel version
old_version
=
$(
cat
"/var/log/le-oldkernelversion"
)
actual_version
=
$(
uname
-r
)
actual_version
=
"
$(
uname
-r
)
"
if
test
${
old_version
}
!=
${
actual_version
}
;
then
# if kernel was upgraded
/usr/lib/dkms/common.postinst lepregao712010 2.3.0.0-Alpha-v2
...
...
@@ -20,11 +20,11 @@ if dpkg -l le-pregao-712010 | grep -q ^ii; then
# if modprobe fail, will not have problem, this mean that
# the driver is already on kernel (I hope)
#test -n "`cat /proc/modules | grep rt3562sta`" && rmmod rt3562sta
modprobe rt3562sta
modprobe rt3562sta
&> /dev/null
fi
# Verify if the kernel is in hold state
if
test
$(
dpkg
--get-selections
|
grep
linux-image-generic-pae |
tr
-s
[
:blank:] |
cut
-f2
)
!=
"hold"
;
then
if
test
"
$(
dpkg
--get-selections
|
grep
linux-image-generic-pae |
tr
-s
[
:blank:] |
cut
-f2
)
"
!=
"hold"
;
then
echo
"linux-image-generic-pae hold"
| dpkg
--set-selections
echo
"linux-headers-generic-pae hold"
| dpkg
--set-selections
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