|
@ -180,14 +180,14 @@ case "$1" in |
|
|
"stop") |
|
|
"stop") |
|
|
umount_netfs |
|
|
umount_netfs |
|
|
|
|
|
|
|
|
SHOWINFO "unmount all sysfs, tmpfs, devpts and usbfs mounts" |
|
|
#SHOWINFO "unmount all sysfs, tmpfs, devpts and usbfs mounts" |
|
|
umount -a -t sysfs, tmpfs, devpts, usbfs |
|
|
#umount -a -t sysfs, tmpfs, devpts, usbfs |
|
|
|
|
|
|
|
|
SHOWINFO "disable all swaps" |
|
|
#SHOWINFO "disable all swaps" |
|
|
swapoff -a |
|
|
#swapoff -a |
|
|
|
|
|
|
|
|
SHOWINFO "detach jffs2 filesystems" |
|
|
#SHOWINFO "detach jffs2 filesystems" |
|
|
umount -l -t jffs2 |
|
|
#umount -l -t jffs2 |
|
|
;; |
|
|
;; |
|
|
*) |
|
|
*) |
|
|
echo "[$BASENAME] Usage: $0 {start|start_netfs|stop_netfs|stop}" |
|
|
echo "[$BASENAME] Usage: $0 {start|start_netfs|stop_netfs|stop}" |
|
|