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

« back to all changes in this revision

Viewing changes to 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:
278
278
    fi
279
279
 
280
280
    ttydir=""
281
 
    if [ ! -f $rootfs/etc/init/container-detect.conf ]; then
 
281
    if [ -f $rootfs/etc/init/container-detect.conf ]; then
282
282
        ttydir=" lxc"
283
283
    fi
284
284