cannot run script

Levin Fritz levinfritz at mediales.net
Tue Mar 2 08:37:55 UTC 2004


Hi,
in your script file, is the following on one line or two lines?

> KERNEL="`uname -r`"                             # Get the name of the 
> current kernel

It should all be on one line, otherwise sh will try to execute "current
kernel". The same goes for the following two lines:

> UPTIME="`uptime`"                               # Determine how long the
> system has been running
> RPM="`rpm -qa|grep  kernel\*|sort`"              # Show all installed 
> kernels on this system

After I joined these lines, the script worked fine on my system.
If that doesn't help, please post the exact error messages you get.

HTH,
Levin

-- 
"#define NULL 0 /* silly thing is, we don't even use this */"
  -- In perl.c from the perl source code





More information about the users mailing list