[1/3] mountfs: Mount ExtraHD filesystems
Commit Message
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
src/initscripts/system/mountfs | 10 ++++++++++
1 file changed, 10 insertions(+)
@@ -36,6 +36,11 @@ case "${1}" in
boot_mesg "Mounting remaining file systems..."
mount -a -O no_netdev &>/dev/null
evaluate_retval
+
+ # ExtraHD
+ boot_mesg "Mounting custom file systems..."
+ /var/ipfire/extrahd/bin/extrahd.pl mount
+ evaluate_retval
;;
stop)
@@ -45,6 +50,11 @@ case "${1}" in
sync && sync
evaluate_retval
+ # ExtraHD
+ boot_mesg "Unmounting custom file systems..."
+ /var/ipfire/extrahd/bin/extrahd.pl umount
+ evaluate_retval
+
boot_mesg "Unmounting all other currently mounted file systems..."
umount -a -d -r &>/dev/null
evaluate_retval