turn daemon() and friends into syntax their scripts understand (shell syntax)
if initscript interpreter is set to bash
svn-id: @12649
[ -r /etc/sysconfig/system ] && . /etc/sysconfig/system
[ -r /etc/sysconfig/bootsplash ] && . /etc/sysconfig/bootsplash
+# if initscript is invoked via bash, enable RedHat/Fedora compatibility
+if [ "${BASH_VERSION+set}" = "set" ]; then
+ RC_LOGGING=yes
+ FASTRC=no
+fi
+
[ "$env_upstart" ] && USE_UPSTART=$env_upstart
if [ -z "$VSERVER" -o "$VSERVER" = "detect" ]; then