-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos E. R. schreef:
The Friday 2007-10-05 at 10:07 +0200, M9. wrote:
Is it possible to add a feature to shut down the computer after finishing the job?
zypper update -t patches ; shutdown -h "update job done"
Very nice!
Or use '&&' instead of ';' if you want it not to shutdown if it fails.
-- Cheers, Carlos E. R.
Als nice tip, thnx.. ;-) - -- Have a nice day, M9. Now, is the only time that exists. OS: Linux 2.6.22.5-31-default x86_64 Huidige gebruiker: monkey9@tribal-sfn2 Systeem: openSUSE 10.3 (x86_64) KDE: 3.5.7 "release 72" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHBhnnX5/X5X6LpDgRAmbqAJ9UNN2tUIUr9oYhBLOLiZBzGMSt2ACdGw/+ Oco3daj71s2axUYc+tuuuG8= =xpfU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org