From a6697086e78f79c3008e3eaaf8af3f961f56cbca Mon Sep 17 00:00:00 2001 From: gixxpunk Date: Fri, 25 Aug 2017 11:12:48 +0200 Subject: [PATCH] - hd1/hd2 workaround for possible shutdown bug this needs proper rework in the future --- skel-root/coolstream/hd1/etc/init.d/fstab | 12 ++++++------ skel-root/coolstream/hd2/etc/init.d/fstab | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/skel-root/coolstream/hd1/etc/init.d/fstab b/skel-root/coolstream/hd1/etc/init.d/fstab index f800ef31..6bde8f98 100755 --- a/skel-root/coolstream/hd1/etc/init.d/fstab +++ b/skel-root/coolstream/hd1/etc/init.d/fstab @@ -180,14 +180,14 @@ case "$1" in "stop") umount_netfs - SHOWINFO "unmount all sysfs, tmpfs, devpts and usbfs mounts" - umount -a -t sysfs, tmpfs, devpts, usbfs + #SHOWINFO "unmount all sysfs, tmpfs, devpts and usbfs mounts" + #umount -a -t sysfs, tmpfs, devpts, usbfs - SHOWINFO "disable all swaps" - swapoff -a + #SHOWINFO "disable all swaps" + #swapoff -a - SHOWINFO "detach jffs2 filesystems" - umount -l -t jffs2 + #SHOWINFO "detach jffs2 filesystems" + #umount -l -t jffs2 ;; *) echo "[$BASENAME] Usage: $0 {start|start_netfs|stop_netfs|stop}" diff --git a/skel-root/coolstream/hd2/etc/init.d/fstab b/skel-root/coolstream/hd2/etc/init.d/fstab index f800ef31..6bde8f98 100755 --- a/skel-root/coolstream/hd2/etc/init.d/fstab +++ b/skel-root/coolstream/hd2/etc/init.d/fstab @@ -180,14 +180,14 @@ case "$1" in "stop") umount_netfs - SHOWINFO "unmount all sysfs, tmpfs, devpts and usbfs mounts" - umount -a -t sysfs, tmpfs, devpts, usbfs + #SHOWINFO "unmount all sysfs, tmpfs, devpts and usbfs mounts" + #umount -a -t sysfs, tmpfs, devpts, usbfs - SHOWINFO "disable all swaps" - swapoff -a + #SHOWINFO "disable all swaps" + #swapoff -a - SHOWINFO "detach jffs2 filesystems" - umount -l -t jffs2 + #SHOWINFO "detach jffs2 filesystems" + #umount -l -t jffs2 ;; *) echo "[$BASENAME] Usage: $0 {start|start_netfs|stop_netfs|stop}"