Patch from Lars Kellogg-Stedman:
authorEric Andersen <andersen@codepoet.org>
Mon, 14 Jul 2003 19:14:26 +0000 (19:14 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 14 Jul 2003 19:14:26 +0000 (19:14 -0000)
    Busybox vi is installed in /bin/vi, but crontab was looking for
    /usr/bin/vi.  This patch makes crontab look for /bin/vi instead.

miscutils/crontab.c

index c6c33ac..6b94464 100644 (file)
@@ -37,7 +37,7 @@
 #define CRONUPDATE      "cron.update"
 #endif
 #ifndef PATH_VI
-#define PATH_VI         "/usr/bin/vi"   /* location of vi       */
+#define PATH_VI         "/bin/vi"   /* location of vi       */
 #endif
 
 #include "busybox.h"