init.d/procfs: posix compatibility fix
I've noticed in at boot: # /etc/init.d/procfs restart procfs | * WARNING: you are stopping a boot service procfs |[: 308: unexpected operator Which calls $ /bin/dash -c '[ "$RC_SYS" == "OPENVZ" ] && echo "ovz" || echo "nope"' [: 1: unexpected operator nope Fixed by using '='. X-Gentoo-Bug: 412237 x-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=412237
This commit is contained in:
parent
be5de328e9
commit
4943ddcb1c
@ -41,7 +41,7 @@ start()
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ "$RC_SYS" == "OPENVZ" ] && return 0
|
[ "$RC_SYS" = "OPENVZ" ] && return 0
|
||||||
|
|
||||||
# Check what USB fs the kernel support. Currently
|
# Check what USB fs the kernel support. Currently
|
||||||
# 2.5+ kernels, and later 2.4 kernels have 'usbfs',
|
# 2.5+ kernels, and later 2.4 kernels have 'usbfs',
|
||||||
|
Loading…
Reference in New Issue
Block a user