Re: cannot run script

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

 



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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux