]> git.saurik.com Git - apple/launchd.git/blame - launchd/src/StartupItems/Disks
launchd-152.tar.gz
[apple/launchd.git] / launchd / src / StartupItems / Disks
CommitLineData
e91b9f68
A
1#!/bin/sh
2
3##
4# Local filesystems
5##
6
7. /etc/rc.common
8
9StartService ()
10{
11 if [ ! -f /var/db/volinfo.database ]; then Uninitialized_VSDB=-YES-; fi
12
13 echo "Checking disks"
14 /sbin/autodiskmount -va
15
16 if [ "${Uninitialized_VSDB:=-NO-}" = "-YES-" ]; then
17 if [ -x /usr/sbin/vsdbutil ]; then
18 /usr/sbin/vsdbutil -i
19 fi
20 fi
21}
22
23StopService ()
24{
25 return 0;
26}
27
28RestartService ()
29{
30 return 0;
31}
32
33RunService "$1"