~ubuntu-branches/ubuntu/maverick/italc/maverick

« back to all changes in this revision

Viewing changes to debian/patches/08_fix-reboot.patch

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2009-06-08 10:49:58 UTC
  • Revision ID: james.westby@ubuntu.com-20090608104958-5g35g2weiuoqwtg3
Tags: 1:1.0.9.1-0ubuntu10
* Fix FTBFS for Karmic (06_fix-ftbfs.patch)
* Respawn ica when crashed (07_ica-auto-respawn.patch)
* Make the reboot action actually reboot the client instead of shutdown (08_fix-reboot.patch)
* Update standards to 3.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 08_fix-reboot.patch by Stéphane Graber <stgraber@ubuntu.com>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Respawn ICA when crashed
 
6
 
 
7
@DPATCH@
 
8
--- ../../orig/ica/src/local_system_ica.cpp
 
9
+++ ../ica/src/local_system_ica.cpp
 
10
@@ -487,7 +487,7 @@
 
11
 #else
 
12
        if( currentUser() == "root (root)" )
 
13
        {
 
14
-               QProcess::startDetached( "poweroff" );
 
15
+               QProcess::startDetached( "reboot" );
 
16
        }
 
17
        else
 
18
        {