diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-19 13:30:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-19 13:33:29 +0000 |
commit | 5c2655f779f788dc3f98cb7db99989f05b89de67 (patch) | |
tree | 124d55ce582e4fd32d40fff47a59c486c99ca233 /main/openrc/swap-umount-tmpfs.patch | |
parent | 4e33fa86e2a671d636d4a1f05a695f41653f8a32 (diff) | |
download | aports-5c2655f779f788dc3f98cb7db99989f05b89de67.tar.bz2 aports-5c2655f779f788dc3f98cb7db99989f05b89de67.tar.xz |
main/openrc: upgrade to 0.10.5
Diffstat (limited to 'main/openrc/swap-umount-tmpfs.patch')
-rw-r--r-- | main/openrc/swap-umount-tmpfs.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/openrc/swap-umount-tmpfs.patch b/main/openrc/swap-umount-tmpfs.patch index d68165c77..1982d4ea7 100644 --- a/main/openrc/swap-umount-tmpfs.patch +++ b/main/openrc/swap-umount-tmpfs.patch @@ -1,11 +1,11 @@ diff --git a/init.d/swap.in b/init.d/swap.in -index fef8ab3..c540bc2 100644 +index fa08b4d..e358266 100644 --- a/init.d/swap.in +++ b/init.d/swap.in -@@ -24,8 +24,10 @@ stop() +@@ -25,8 +25,10 @@ stop() # Try to unmount all tmpfs filesystems not in use, else a deadlock may - # occure. As $RC_SVCDIR may also be tmpfs we cd to it to lock it + # occur. As $RC_SVCDIR may also be tmpfs we cd to it to lock it - cd "$RC_SVCDIR" - umount -a -t tmpfs 2>/dev/null + if [ "$RC_RUNLEVEL" = "shutdown" ]; then |