Browse Source

make a Should-Stop dependency of swap to allow clean install

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
DJ Lucas 4 years ago
parent
commit
3c784d8d8a
2 changed files with 5 additions and 2 deletions
  1. 3 0
      bootscripts/ChangeLog
  2. 2 2
      bootscripts/lfs/init.d/swap

+ 3 - 0
bootscripts/ChangeLog

@@ -1,3 +1,6 @@
+2020-10-02 DJ Lucas <dj@linuxfromscratch.org>
+   * make $local_fs a Should-Stop dependency of swap to allow clean install
+
 2020-08-02 Bruce Dubbs <bdubbs@linuxfromscratch.org>
    * Fix a minor display problem in checkfs
 

+ 2 - 2
bootscripts/lfs/init.d/swap

@@ -16,8 +16,8 @@
 # Provides:            swap
 # Required-Start:      udev
 # Should-Start:        modules
-# Required-Stop:       localnet $local_fs
-# Should-Stop:
+# Required-Stop:       localnet
+# Should-Stop:         $local_fs
 # Default-Start:       S
 # Default-Stop:        0 6
 # Short-Description:   Mounts and unmounts swap partitions.