#!/bin/bash # # "root" script to start Sybase from init scripts # # The real work is done by the start_stop_sybase script # # =================================================================== ### BEGIN INIT INFO # Provides: sybase # Required-Start: $network $remote_fs $local_fs # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Start/stop Sybase servers # Description: Sybase is a database server ### END INIT INFO su - sybase -c "/home/sybase/bin/start_stop_sybase $1 " exit $?