summaryrefslogtreecommitdiff
path: root/packages/openslug-init/openslug-init-0.10
diff options
context:
space:
mode:
authorccsmart <ccsmart@smartpal.de>2005-07-08 18:45:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-08 18:45:08 +0000
commitce85bae0ffbca430dd50976c0b5397b3a822b6f7 (patch)
treef8650a2c2cf0596d1065952434b5672b95e1ad4e /packages/openslug-init/openslug-init-0.10
parent0bbcf278b7c50748f97f4a12f4c4330ed53daeeb (diff)
Make rmrecovery permanent active per default.
Diffstat (limited to 'packages/openslug-init/openslug-init-0.10')
-rw-r--r--packages/openslug-init/openslug-init-0.10/turnup19
1 files changed, 1 insertions, 18 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;;