forked from Spark/ssm-services
Also an artefact (+ wrong)
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
6033c3cb18
commit
484deec6d1
|
@ -3,12 +3,6 @@
|
||||||
service_type='oneshot'
|
service_type='oneshot'
|
||||||
service_command=( /usr/bin/mount -a )
|
service_command=( /usr/bin/mount -a )
|
||||||
|
|
||||||
pre_start() {
|
|
||||||
if [[ -w / ]]; then
|
|
||||||
mount -o remount,rw /
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_start() {
|
post_start() {
|
||||||
swapon -a
|
swapon -a
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user