summaryrefslogtreecommitdiff
path: root/mount-data/files/init
blob: d1362e2cf30e7bef5df9c6fa703c825e3e777027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh /etc/rc.common

START=36
STOP=90

status() {
	findmnt >/dev/null /data
}

start() {
	status || mount -o subvol=@data UUID=7dc606e7-39e0-4320-9ff6-83a10f163e54 /data
}

stop() {
        umount -fl /data
}

restart() {
        :
}

reload() {
        :
}