24 lines
368 B
Bash
24 lines
368 B
Bash
|
#!/bin/sh
|
||
|
### BEGIN INIT INFO
|
||
|
# Provides: async-commit
|
||
|
# Required-Start:
|
||
|
# Required-Stop:
|
||
|
# Default-Start: S
|
||
|
# Default-Stop:
|
||
|
# Description: Enable ASYNC_COMMIT for Rockchip BSP kernel > 4.4
|
||
|
### END INIT INFO
|
||
|
|
||
|
case "$1" in
|
||
|
start)
|
||
|
/usr/bin/async-commit ;;
|
||
|
stop)
|
||
|
;;
|
||
|
restart|reload)
|
||
|
;;
|
||
|
*)
|
||
|
echo "Usage: $0 {start|stop|restart}"
|
||
|
exit 1
|
||
|
esac
|
||
|
|
||
|
exit $?
|