Changeset 531da75 in freewrt
- Timestamp:
- Jul 1, 2007, 4:05:40 AM (18 years ago)
- Children:
- 6b5052df
- Parents:
- aac582b
- Location:
- package
- Files:
-
- 2 edited
-
Config.in.shell (modified) (2 diffs)
-
base-files/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/Config.in.shell
raac582b r531da75 38 38 good for interactive and especially script use. Some sh/ksh/pdksh 39 39 compatibility kludges have been removed. 40 41 config BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH42 depends BUSYBOX_CONFIG_HUSH43 bool "hush (busybox)"44 help45 hush is a very small shell (just 18k) and it has fairly complete46 Bourne shell grammar. It even handles all the normal flow control47 options such as if/then/elif/else/fi, for/in/do/done, while loops,48 etc.49 50 It does not handle case/esac, select, function, here documents ( <<51 word ), arithmetic expansion, aliases, brace expansion, tilde52 expansion, &> and >& redirection of stdout+stderr, etc.53 54 config BUSYBOX_CONFIG_FEATURE_SH_IS_LASH55 depends BUSYBOX_CONFIG_LASH56 bool "lash (busybox)"57 help58 lash is the very smallest shell (adds just 10k) and it is quite59 usable as a command prompt, but it is not suitable for any but the60 most trivial scripting (such as an initrd that calls insmod a few61 times) since it does not understand any Bourne shell grammar. It62 does handle pipes, redirects, and job control though. Adding in63 command editing makes it a very nice lightweight command prompt.64 65 config BUSYBOX_CONFIG_FEATURE_SH_IS_MSH66 depends BUSYBOX_CONFIG_MSH67 bool "msh (busybox)"68 help69 The minix shell (adds just 30k) is quite complete and handles things70 like for/do/done, case/esac and all the things you expect a Bourne71 shell to do. It is not always pedantically correct about Bourne72 shell grammar (try running the shell testscript "tests/sh.testcases"73 on it and compare vs bash) but for most things it works quite well.74 It also uses only vfork, so it can be used on uClinux systems.75 40 76 41 endchoice … … 116 81 be selected as /bin/sh. 117 82 83 config FWRT_BASEFILES_ADMIN_ZSH 84 depends FWRT_PACKAGE_ZSH 85 bool "zsh" 86 help 87 zsh is a powerful, bloated not-quite bourne (and even less 88 korn) compatible shell with rich features for interactive 89 uses. It cannot be selected as /bin/sh but as login shell. 90 118 91 config FWRT_BASEFILES_ADMIN_HUSH 119 92 depends BUSYBOX_CONFIG_HUSH -
package/base-files/Makefile
raac582b r531da75 41 41 ifeq (${FWRT_BASEFILES_ADMIN_BASH},y) 42 42 ADMIN_SHELL:= /bin/bash 43 endif 44 ifeq (${FWRT_BASEFILES_ADMIN_ZSH},y) 45 ADMIN_SHELL:= /bin/zsh 43 46 endif 44 47 … … 86 89 echo /bin/bash >>${IDIR_BASE_FILES}/etc/shells 87 90 endif 91 ifneq (${FWRT_PACKAGE_ZSH},) 92 echo /bin/zsh >>${IDIR_BASE_FILES}/etc/shells 93 endif 88 94 ifneq (${FWRT_PACKAGE_MKSH_AS_BINASH},) 89 95 echo /bin/ash >>${IDIR_BASE_FILES}/etc/shells
Note:
See TracChangeset
for help on using the changeset viewer.
