#!/bin/bash
#===============================================================================
# SSS Firmware
#===============================================================================
# File 			:	noflushd
# Who			:	JWB
# Description		:	This script starts / stops noflushd
#					Hibernation
# Copyright		:	LG ELECTRONICS INC.
# history 		:	2008.07.21 edited last
#===============================================================================
. /etc/sss_script/event/lib_sss

cd /etc/init.d/

check_status()
{
	if [ $? = 0 ]
	then
		echo "OK"
	else
		echo "FAILED"
	fi
}
case "$1" in
	start)
		echo -n "Starting noflushd Daemon"
		echo
		HIB_Start
		check_status
		;;
	stop)
		echo -n "Stopping noflushd Daemon"
		echo
		HIB_Stop
		check_status
		;;
	restart)
		echo -n "Restarting noflushd Daemon"
		echo
		HIB_Restart
		check_status
		;;
	*)
		echo "Usage: $0 {start|stop|restart}"
		;;
esac



