Enlightenment CVS committal
Author : xcomputerman
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/client
Modified Files:
main.c
Log Message:
Shutdown/Reboot signals work. Try the big power button and wail about
precious uptimes :p
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- main.c 14 Oct 2003 12:49:19 -0000 1.10
+++ main.c 16 Oct 2003 20:27:58 -0000 1.11
@@ -371,7 +371,7 @@
{
if(session->config->reboot.allow)
{
- execl("/bin/sh", "/bin/sh", "-c", "/sbin/shutdown" "-r", "now", "This system
is going down for reboot NOW!", NULL);
+ execl("/bin/sh", "/bin/sh", "-c", "/sbin/shutdown -r now \"This system is
going down for reboot NOW!\"", NULL);
}
}
@@ -390,7 +390,7 @@
{
if(session->config->halt.allow)
{
- execl("/bin/sh", "/bin/sh", "-c", "/sbin/shutdown" "-h", "now", "This system
is being shut down NOW!", NULL);
+ execl("/bin/sh", "/bin/sh", "-c", "/sbin/shutdown -h now \"This system is
being shut down NOW!\"", NULL);
}
}
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs