|
From: Friedrich L. <fl...@fl...> - 2002-04-09 15:12:25
|
Heiko Zuerker wrote: > > the unmount script also has to take care, that swap is turned off as the > last action when the system shuts down. If a "devil-linux" harddisk is used: # cat -n mountfs | head -n 139 | tail -n 10 130 if [ -e /sbin/vgscan -a -e /sbin/vgchange ]; then 131 132 lvm_scan 133 134 # check if swap on LVM is active then deactivate it 135 if [ $lv_swap -eq 1 ]; then 136 echo "Deactivating swap on LVM" 137 swapoff /dev/$vg_system/swap &> /dev/null 138 evaluate_retval 139 fi -- MfG / Regards Friedrich Lobenstock |