1 Commits
v0.1.9 ... luks

Author SHA1 Message Date
obarun
95e074768e stage2.tini : umount Nfs filesystem if exist 2017-10-11 09:39:33 +11:00
6 changed files with 7 additions and 7 deletions

5
NEWS
View File

@@ -1,10 +1,5 @@
Changelog for s6-boot
In 0.1.9
--------
- Bugs fix
In 0.1.8
--------

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -188,7 +188,7 @@ enabled_daemon() {
}
start_database() {
log "init s6-rc database with -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -c ${RC_DATABASE_COMPILED}/current ${LIVE_CLASSIC_PATH}"
log "init s6-rc database"
if [[ "${_UID}" == 0 ]]; then
s6-rc-init -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -c ${RC_DATABASE_COMPILED}/current ${LIVE_CLASSIC_PATH}
s6-rc -v 3 -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -u change All
@@ -223,7 +223,7 @@ add() {
enabled_daemon || exit 1
s6_cmd "svscanctl" "an" "${LIVE_CLASSIC_PATH}" 2>/dev/null || exit 1
s6_cmd "svscanctl" "an" "${DESTUSER}/${USER}/${DESTCLASSIC}" 2>/dev/null || exit 1
start_database || exit 1
}

View File

@@ -26,6 +26,11 @@ foreground {
if { s6-echo -- Cleaning /tmp directory }
rm -rf /tmp/
}
foreground {
if -X { mountstats }
if { s6-echo Umount NFS filesystem }
umount -a -f -t nfs4
}
if { s6-echo -- "***************************************************************************" }
if { s6-echo -- "** Tini shutdown terminated **" }