Browse Source

- hd1/hd2 workaround for possible shutdown bug

this needs proper rework in the future
master
gixxpunk 8 years ago
parent
commit
a6697086e7
  1. 12
      skel-root/coolstream/hd1/etc/init.d/fstab
  2. 12
      skel-root/coolstream/hd2/etc/init.d/fstab

12
skel-root/coolstream/hd1/etc/init.d/fstab

@ -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}"

12
skel-root/coolstream/hd2/etc/init.d/fstab

@ -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}"

Loading…
Cancel
Save