Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
ef05303b
Commit
ef05303b
authored
Sep 02, 2019
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
power: don't mess up e2k's /etc/modules
button.ko isn't compiled within elbrus kernel (or used in any way).
parent
01bdf28b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
50-power
features.in/power/rootfs/image-scripts.d/50-power
+1
-1
No files found.
features.in/power/rootfs/image-scripts.d/50-power
View file @
ef05303b
#!/bin/sh -efu
#!/bin/sh -efu
# provide kernel interface for ACPI power button
# provide kernel interface for ACPI power button
if
[
-x
/etc/init.d/acpid
]
;
then
if
[
`
arch
`
!=
e2k
-a
-x
/etc/init.d/acpid
]
;
then
grep
-qsx
button /etc/modules
||
echo
button
>>
/etc/modules
grep
-qsx
button /etc/modules
||
echo
button
>>
/etc/modules
fi
fi
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