Changeset 1092 for 0.9.9


Ignore:
Timestamp:
Sep 20, 2010, 4:51:02 PM (9 years ago)
Author:
bruno
Message:

r4075@localhost: bruno | 2010-09-17 17:25:50 +0200

  • Website now refers to correct man pages to start
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 0.9.9/pb/bin/pb

    r1015 r1092  
    15411541        }
    15421542        my $hoption = "-p";
    1543         # Solaris doesn't support -h
    1544         $hoption = "" if ($dtype eq "pkg");
    1545         pb_system("$shcmd \"sudo /sbin/halt $hoption \"; sleep $tm ; echo \'if [ -d /proc/$vmpid ]; then kill -9 $vmpid; fi \' | bash ; sleep 10","VM $v halt (pid $vmpid)");
     1543        my $hpath = "/sbin";
     1544        # Solaris doesn't support -h and has halt elsewhere
     1545        if ($dtype eq "pkg") {
     1546            $hoption = "" ;
     1547            $hpath = "/usr/sbin";
     1548        }
     1549        pb_system("$shcmd \"sudo $hpath/halt $hoption \"; sleep $tm ; echo \'if [ -d /proc/$vmpid ]; then kill -9 $vmpid; fi \' | bash ; sleep 10","VM $v halt (pid $vmpid)");
    15461550    }
    15471551    if (($cmt =~ /^VE/) && ($snapme != 0)) {
Note: See TracChangeset for help on using the changeset viewer.