summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorErik Andersen2000-04-18 23:32:10 +0000
committerErik Andersen2000-04-18 23:32:10 +0000
commit9a8195cc03516b9f376b0f965d9f05fa326ac5d2 (patch)
tree3857674a2de28a112b221ef68f02b2bc7539537a /applets
parentb9167cb67f3316e2220cc4d209bb75880d619bc6 (diff)
downloadbusybox-9a8195cc03516b9f376b0f965d9f05fa326ac5d2.zip
busybox-9a8195cc03516b9f376b0f965d9f05fa326ac5d2.tar.gz
Fix creation of /linuxrc
-Erik
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c2
-rwxr-xr-xapplets/install.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 73939c5..f4260e9 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -149,7 +149,7 @@ static const struct Applet applets[] = {
#ifdef BB_LENGTH
{"length", length_main, _BB_DIR_USR_BIN},
#endif
-#ifdef BB_FEATURE_LINUXRC //
+#ifdef BB_LINUXRC
{"linuxrc", init_main, _BB_DIR_ROOT},
#endif
#ifdef BB_LN
diff --git a/applets/install.sh b/applets/install.sh
index 100b26b..65190f5 100755
--- a/applets/install.sh
+++ b/applets/install.sh
@@ -15,6 +15,7 @@ for i in $h ; do
ln -fs /bin/busybox $1$i
done
rm -f $1/bin/busybox
+mkdir -p $1/bin
install -m 755 busybox $1/bin/busybox
exit 0