]> git.pld-linux.org Git - packages/busybox.git/blobdiff - busybox-sh-name.patch
- dropped, use mdadm instead
[packages/busybox.git] / busybox-sh-name.patch
index 9e1df28b7b989316178eb7115d1c34122471d4e6..b29ba49c4ff0599bd75cdf123e3f492c03403e30 100644 (file)
@@ -1,12 +1,12 @@
 diff -Nur --exclude *~ busybox-0.51/busybox.c busybox-0.51.new/busybox.c
 --- busybox-0.51/busybox.c     Tue Apr 10 00:48:11 2001
-+++ busybox-0.51.new/busybox.c Sat May 19 12:53:12 2001
-@@ -97,7 +97,7 @@
++++ busybox-0.51.new/busybox.c Sun May 20 12:43:53 2001
+@@ -94,6 +94,8 @@
+       }
+ #ifdef BB_SH
++      if (strcmp(applet_name, "lash")==0) applet_name="sh";
++
        /* Add in a special case hack -- whenever **argv == '-'
         * (i.e. '-su' or '-sh') always invoke the shell */
        if (**argv == '-' && *(*argv+1)!= '-') {
--              applet_name = "sh";
-+              applet_name = "lash";
-       }
- #endif
This page took 0.036702 seconds and 4 git commands to generate.