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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
42e66741
You need to sign in or sign up before continuing.
Commit
42e66741
authored
Jul 05, 2013
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial control feature
TODO--, and this one was pretty expected after the "invention" of iterators.
parent
37b971f5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
README
features.in/control/README
+2
-0
config.mk
features.in/control/config.mk
+8
-0
50-control
features.in/control/rootfs/image-scripts.d/50-control
+11
-0
No files found.
features.in/control/README
0 → 100644
View file @
42e66741
Эта фича предоставляет интерфейс для конфигурирования дистрибутивных
значений по умолчанию control(8); см. тж. http://altlinux.org/control
features.in/control/config.mk
0 → 100644
View file @
42e66741
use/control:
@$(call add_feature)
@$(call add,THE_PACKAGES,control)
@$(call xport,CONTROL)
# some presets
use/control/sudo-su:
@$(call add,CONTROL,su:public sudo:public)
features.in/control/rootfs/image-scripts.d/50-control
0 → 100755
View file @
42e66741
#!/bin/sh
# setup control(8) states
[
-z
"
$GLOBAL_CONTROL
"
]
||
echo
"
$GLOBAL_CONTROL
"
\
|
tr
' '
'\n'
\
|
while
IFS
=
':'
read
facility state
;
do
[
-z
"
$facility
"
-o
-z
"
$state
"
]
||
control
"
$facility
"
"
$state
"
done
:
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