#!/bin/sh
##############################################################################
#
#  Copyright (c) 2005, Doremi Labs, Inc.
#    All rights reserved.
#
#  Redistribution in source or binary forms, with or without
#  modification, are NOT permitted.
#
#    Doremi Labs, Inc.
#    306 East Alameda Avenue
#    Burbank, CA 91502
#    Tel : (818) 562 1101
#    Fax : (818) 562 1109
#
#  version 1.0: hmorillon, August 11th 2010
#  
##############################################################################

# Create symlinks
ln -sf ../init.d/shellinaboxd.init /doremi/etc/rc.d/50_shellinaboxd
ln -sf /doremi/opt/flmx.xml /doremi/www/root/flmx.xml

# Start daemon
/doremi/etc/init.d/drmsoapd.init start > /dev/null 2>&1
/doremi/etc/init.d/shellinaboxd.init start > /dev/null 2>&1

exit 0
