john9527
Part of the Furniture
Actually, as I think about it, stopping stubby in services-stop probably makes sense. Shutting down the swapfile, though, makes more sense in unmount.Where can I find it and could you be a little more descriptive about the use of this $1 value please? Can you give me a sample command in regards to this please? Thanks bud!
Here's my unmount script....should give you the idea.....
Code:
#!/bin/sh
if [ $1 == "/tmp/mnt/extsys" ] && [ -f "/tmp/mnt/extsys/.swap" ]; then
# turn off swapfile
swapoff /mnt/extsys/.swap
fi
exit 0