From: 有张纸 Date: Thu, 11 Jun 2015 04:50:50 +0000 (+0800) Subject: Update lxc-oracle.in X-Git-Tag: lxc-1.1.3~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9d1d83017914f94d5fb617758827e28408de4d2;p=thirdparty%2Flxc.git Update lxc-oracle.in --- diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in index 5a6c3dede..13fad95db 100644 --- a/templates/lxc-oracle.in +++ b/templates/lxc-oracle.in @@ -302,8 +302,8 @@ EOF fi fi if [ $container_release_major = "6" ]; then - sed -i 's|mount -n -o remount /dev/shm >/dev/null 2>&1$|mkdir -p /dev/shm && mount -t tmpfs tmpfs /dev/shm # LXC|' $container_rootfs/etc/rc.sysinit - sed -i 's|mount -n -o remount /dev/shm >/dev/null 2>&1$|mkdir -p /dev/shm && mount -t tmpfs tmpfs /dev/shm # LXC|' $container_rootfs/etc/rc.d/rc.sysinit + sed -i 's|mount -n -o remount /dev/shm >/dev/null 2>&1$|mkdir -p /dev/shm \&\& mount -t tmpfs tmpfs /dev/shm # LXC|' $container_rootfs/etc/rc.sysinit + sed -i 's|mount -n -o remount /dev/shm >/dev/null 2>&1$|mkdir -p /dev/shm \&\& mount -t tmpfs tmpfs /dev/shm # LXC|' $container_rootfs/etc/rc.d/rc.sysinit fi # there might be other services that are useless but the below set is a good start