summaryrefslogtreecommitdiff
path: root/packages/openslug-init
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-11 17:27:18 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-11 17:27:18 +0000
commit6c15bff9b38d0fd2e6d13970a1ee5ba335a7948c (patch)
treed54b761e2871163bc40f2601d74d02f7215d222c /packages/openslug-init
parenta759b97c2875178ed1217673a85cc7c45f3dc590 (diff)
parenteb9cfb0ce0666445f4666daff6e67bdad9fd06fa (diff)
merge of 2022049443b7792bb0aa83a3718b39fa33c7a995
and 9d0d3641c8a092e15958fde6df3c0a92fc97a122
Diffstat (limited to 'packages/openslug-init')
-rw-r--r--packages/openslug-init/openslug-init-0.10/turnup19
-rw-r--r--packages/openslug-init/openslug-init_0.10.bb3
2 files changed, 3 insertions, 19 deletions
diff --git a/packages/openslug-init/openslug-init-0.10/turnup b/packages/openslug-init/openslug-init-0.10/turnup
index 14756fc661..86c573a93b 100644
--- a/packages/openslug-init/openslug-init-0.10/turnup
+++ b/packages/openslug-init/openslug-init-0.10/turnup
@@ -195,20 +195,6 @@ setup_var() {
}
#
-# setup_files new
-# At present just puts the rmrecovery links in.
-setup_files() {
- test -n "$1" -a -d "$1"/etc || {
- echo "turnup: setup_files($1): expected a directory" >&2
- return 1
- }
- #
- # add the script to remove .recovery
- update-rc.d -r "$1" rmrecovery start 99 1 2 3 4 5 .
- return 0
-}
-
-#
# setup_syslog new
# Moves the syslog to a file - appropriate for disk and nfs types, not
# otherwise.
@@ -258,14 +244,11 @@ setup_rootfs() {
flash) return 0;;
disk) setup_dev "$new" "$table" &&
setup_var "$new" disk &&
- setup_files "$new" &&
setup_syslog "$new";;
memstick)
- setup_bootdev "$new" "$table" &&
- setup_files "$new";;
+ setup_bootdev "$new" "$table" ;;
nfs) setup_dev "$new" "$table" &&
setup_var "$new" nfs &&
- setup_files "$new" &&
setup_syslog "$new";;
*) echo "turnup: setup_rootfs: $type: unknown rootfs type" >&2
return 1;;
diff --git a/packages/openslug-init/openslug-init_0.10.bb b/packages/openslug-init/openslug-init_0.10.bb
index f0af1aa9fb..b5801e252c 100644
--- a/packages/openslug-init/openslug-init_0.10.bb
+++ b/packages/openslug-init/openslug-init_0.10.bb
@@ -3,7 +3,7 @@ SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "base-files devio"
RDEPENDS = "busybox devio"
-PR = "r33"
+PR = "r34"
SRC_URI = "file://linuxrc \
file://boot/flash \
@@ -121,6 +121,7 @@ pkg_postinst_openslug-init() {
update-rc.d $opt syslog.file start 39 S . start 47 0 6 .
update-rc.d $opt syslog.network start 44 S . start 39 0 6 .
update-rc.d $opt zleds start 99 S 1 2 3 4 5 . stop 5 0 1 2 3 4 5 6 .
+ update-rc.d $opt rmrecovery start 99 1 2 3 4 5 .
# bug fix for startup
update-rc.d $opt leds_startup start 1 1 2 3 4 5 .
}