~ubuntu-branches/ubuntu/quantal/lxc/quantal-201206191543

« back to all changes in this revision

Viewing changes to .pc/0084-lxc-ubuntu-drop-duplicate-code.patch/templates/lxc-ubuntu.in

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-06-01 11:57:44 UTC
  • Revision ID: package-import@ubuntu.com-20120601115744-33xz9yja385nxxeq
Tags: 0.8.0~rc1-4ubuntu12
Fix broken logic in lxc-ubuntu template where lxc.devttydir would be
set to 'lxc' only for releases that don't support it. (LP: #1007493)

Show diffs side-by-side

added added

removed removed

Lines of Context:
306
306
    fi
307
307
 
308
308
    ttydir=""
309
 
    if [ ! -f $rootfs/etc/init/container-detect.conf ]; then
 
309
    if [ -f $rootfs/etc/init/container-detect.conf ]; then
310
310
        ttydir=" lxc"
311
311
    fi
312
312