From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: optimize ipkg package management - generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig --- package/mksh/patches/patch-dot_mkshrc | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) (limited to 'package/mksh/patches/patch-dot_mkshrc') diff --git a/package/mksh/patches/patch-dot_mkshrc b/package/mksh/patches/patch-dot_mkshrc index 13093bb79..038050e7e 100644 --- a/package/mksh/patches/patch-dot_mkshrc +++ b/package/mksh/patches/patch-dot_mkshrc @@ -1,31 +1,16 @@ -$Id$ - - • OpenADK patches: - – no hostname(1) - – ls has no -o - – yofuh doesn’t like $? in $PS1 - ---- mksh.orig/dot.mkshrc Sat May 17 18:27:55 2008 -+++ mksh/dot.mkshrc Mon Jul 21 21:02:05 2008 -@@ -2,13 +2,15 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- mksh.orig/dot.mkshrc 2009-05-30 12:07:24.734860691 +0200 ++++ mksh/dot.mkshrc 2009-05-30 12:07:18.782465058 +0200 +@@ -20,7 +20,7 @@ #- # ~/.mkshrc: mksh initialisation file for interactive shells -: ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)} -+: ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(&-)} [[ $HOSTNAME = @(localhost|*([ ])) ]] && HOSTNAME=$(ulimit -c 0;hostname 2>&-) : ${HOSTNAME:=nil}; if (( USER_ID )); then PS1='$'; else PS1='#'; fi function precmd { - typeset -i e=$? - -- (( e )) && print -n "$e|" -+# enable this back if you want the errorlevel in your prompt -+# this is default in upstream mksh, disabled locally in fwrt -+# (( e )) && print -n "$e|" - } - PS1='$(precmd)${USER:=$(ulimit -c 0;id -un 2>&- || print \?)}@${HOSTNAME%%.*}:$( - typeset pfx=~ wd=${PWD:-?} -@@ -30,7 +32,7 @@ unalias ls +@@ -38,7 +38,7 @@ unalias ls alias l='ls -F' alias la='l -a' alias ll='l -l' -- cgit v1.2.3