Changeset 08ddac0 in freewrt


Ignore:
Timestamp:
Mar 9, 2007, 11:45:46 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
952ddb9
Parents:
d3de4a1
Message:
  • allow the user to choose GNU bash as login shell for the “admin” user; requested by <sum> via IRC
  • fix bug: bash wasn't in /etc/shells, bad wbx@

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2144 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package/Config.shell

    rd3de4a1 r08ddac0  
    105105          compatibility kludges have been removed.
    106106
     107config FWRT_BASEFILES_ADMIN_BASH
     108        depends FWRT_PACKAGE_BASH
     109        bool "GNU bash"
     110        help
     111          bash is the GNU "bourne-again" shell, a pretty bloated bourne
     112          compatible shell with some basic korn shell extensions and a
     113          few home-grown ones. Because it's very big and slow, it can't
     114          be selected as /bin/sh.
     115
    107116config FWRT_BASEFILES_ADMIN_HUSH
    108117        depends BUSYBOX_CONFIG_HUSH
  • package/base-files/Makefile

    rd3de4a1 r08ddac0  
    1010PKG_NAME:=              base-files
    1111PKG_VERSION:=           1.0
    12 PKG_RELEASE:=           18
     12PKG_RELEASE:=           19
    1313WRKDIST=                ${WRKDIR}/base-files
    1414NO_DISTFILES:=          1       # should be Yes, but gmake sucks
     
    4040ifeq (${FWRT_BASEFILES_ADMIN_MSH},y)
    4141ADMIN_SHELL:=           /bin/msh
     42endif
     43ifeq (${FWRT_BASEFILES_ADMIN_BASH},y)
     44ADMIN_SHELL:=           /bin/bash
    4245endif
    4346
     
    7679        echo /bin/mksh >>${IDIR_BASE_FILES}/etc/shells
    7780endif
     81ifneq (${FWRT_PACKAGE_BASH},)
     82        echo /bin/bash >>${IDIR_BASE_FILES}/etc/shells
     83endif
    7884ifneq (${FWRT_PACKAGE_MKSH_AS_BINASH},)
    7985        echo /bin/ash >>${IDIR_BASE_FILES}/etc/shells
Note: See TracChangeset for help on using the changeset viewer.