Changeset 6bbb1f0 in bootscripts-embedded


Ignore:
Timestamp:
Oct 22, 2013, 5:53:51 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
d3398c8
Parents:
5c79e0a
Message:

shutdown: Only swapoff if fstab exists

Or else swapoff complains about lack of fstab and apparently can't find
where swap is.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • clfs/rc.d/shutdown

    r5c79e0a r6bbb1f0  
    2626fi
    2727
    28 if [ -x /sbin/swapoff ]; then
     28if [ -x /sbin/swapoff ] && [ -s /etc/fstab ]; then
    2929        echo -n "Disabling swap space: "
    3030        swapoff -a
Note: See TracChangeset for help on using the changeset viewer.