Norkay 2008-07-29 copy and modify from busybox-1.7.x
