xref: /OK3568_Linux_fs/external/rkscript/S00mountall.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/sh
2### BEGIN INIT INFO
3# Provides:       mount-all
4# Required-Start:
5# Required-Stop:
6# Default-Start:  S
7# Default-Stop:
8# Description:    Mount all internal partitions in /etc/fstab
9### END INIT INFO
10
11case "$1" in
12	start|"")
13		mount-helper
14		;;
15	restart|reload|force-reload)
16		echo "Error: argument '$1' not supported" >&2
17		exit 3
18		;;
19	stop|status)
20		# No-op
21		;;
22	*)
23		echo "Usage: start" >&2
24		exit 3
25		;;
26esac
27
28:
29