File: mobile-root

package info (click to toggle)
qcom-phone-utils 0.4.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 212 kB
  • sloc: sh: 441; ansic: 123; makefile: 14
file content (15 lines) | stat: -rwxr-xr-x 309 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

PREREQS=""
case $1 in
    prereqs) echo "${PREREQS}"; exit 0;;
esac

. /scripts/functions

if [ -n "${MOBILE_ROOT}" ]; then
    # ROOT has been overriden previously, make sure it is now the real device node
    ROOT="$(resolve_device ${ROOT})"
    echo "ROOT=${ROOT}" >> /conf/param.conf
fi