Changeset 167


Ignore:
Timestamp:
Oct 1, 2007, 10:44:32 AM (13 years ago)
Author:
Bruno Cornec
Message:

path for ntpdate

Location:
devel/pb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r166 r167  
    641641    print SCRIPT "export PBROOT=\`pwd\`\n";
    642642    print SCRIPT "# Sync date\n";
    643     print SCRIPT "sudo ntpdate pool.ntp.org\n";
     643    print SCRIPT "sudo /usr/sbin/ntpdate pool.ntp.org\n";
    644644    print SCRIPT "# Build\n";
    645645    my $p = "";
  • devel/pb/contrib/pbsetupqemu

    r166 r167  
    4747close(PBOUT);
    4848rename("$file.new",$file);
     49chmod 0640,$file;
    4950
    5051# Adapt sudoers
     
    6263close(PBOUT);
    6364rename("$file.new",$file);
     65chmod 0440,$file;
    6466
    6567system 'su - pb -c "mkdir -p .ssh ; chmod 700 .ssh ; cp /tmp/pbkey .ssh/authorized_keys ; chmod 600 .ssh/authorized_keys"';
Note: See TracChangeset for help on using the changeset viewer.