diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2014-08-10 17:15:05 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-08-10 17:15:05 -0500 |
commit | 7b744befac2049eb6372a7f0c5420c740aa0a4ea (patch) | |
tree | 2285b6914747f1baca83410d630fb18644d14521 | |
parent | faaaab4bf540b4df011abea5985963dbc9e1646a (diff) |
bootmisc: do not run the clean_run function in an LXC container
-rw-r--r-- | init.d/bootmisc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index 3e56ebcb..2ec075f3 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -117,7 +117,7 @@ migrate_to_run() clean_run() { - [ "$RC_SYS" = VSERVER ] && return 0 + [ "$RC_SYS" = VSERVER -o "$RC_SYS" = LXC ] && return 0 local dir dir=$(mktemp -d) mount --bind / $dir |