Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
35b7b1ab
Commit
35b7b1ab
authored
Jun 12, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use rc-update quietly. some sysinit/boot svc are added from initramfs
parent
0f56a350
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
16 deletions
+7
-16
setup-alpine.in
setup-alpine.in
+4
-12
setup-keymap.in
setup-keymap.in
+1
-1
setup-webconf.in
setup-webconf.in
+2
-3
No files found.
setup-alpine.in
View file @
35b7b1ab
...
...
@@ -33,20 +33,12 @@ grep '^iface.*dhcp' $ROOT/etc/network/interfaces > /dev/null ||\
# set root password
[
-z
"
$NOCOMMIT
"
]
&&
while
!
passwd
;
do
echo
"Please retry."
;
done
for
i
in
devfs dmesg
;
do
rc-update add
$i
sysinit
done
rc-update
-q
add networking boot
# add some boot services
for
i
in
hwclock modules sysctl
hostname
syslog bootmisc
;
do
rc-update add
$i
boot
done
for
i
in
networking
;
do
rc-update add
$i
default
done
# enable new hostname
/etc/init.d/hostname
--quiet
restart
# start up the services
rc sysinit
rc boot
rc default
setup-keymap.in
View file @
35b7b1ab
...
...
@@ -45,7 +45,7 @@ setup_mapfile() {
echo
"KEYMAP=/etc/keymap/
$name
.gz"
>>
"
$conf
"
# we actually load the keymap now
zcat /etc/keymap/
$name
.gz | loadkmap
rc-update add keymaps boot
rc-update
-q
add keymaps boot
goodbye 0
fi
}
...
...
setup-webconf.in
View file @
35b7b1ab
...
...
@@ -94,7 +94,6 @@ MINI_HTTPD_OPTS="-C /etc/mini_httpd.conf"
MINI_HTTPD_DOCROOT=/var/www/localhost/htdocs
EOF
pidof mini_httpd
>
/dev/null
&&
/etc/init.d/mini_httpd stop
rc-update add mini_httpd default
/etc/init.d/mini_httpd start
rc-update
-q
add mini_httpd default
/etc/init.d/mini_httpd restart
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