[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#41064: /etc/init.d/devpts.sh does not grok EXTRAVERSION of the kernel



Package: libc6
Version: 2.1.1-13
Severity: normal

I am using rtlinux and hence the result of `uname -r` is "2.2.10.RTL_BETA9".
Therefore major_release is set to 2.2.10 and minor_release to RTL_BETA9,
and no case matches major_release.

I think that the following helps:

release=`uname -r`
tail=${release#*.*.}
major_release=${release%.${tail}}
minor_release=${tail%%.*}

							Petr

-- System Information
Debian Release: potato
Architecture: i386
Kernel: Linux vina 2.2.10.RTL_BETA9 #4 SMP Fri Jul 9 13:16:24 PDT 1999 i686

Versions of packages libc6 depends on:
ii  ldso            1.9.11-2       The Linux dynamic linker, library and utilit



Reply to: