[1/3] mountfs: Mount ExtraHD filesystems

Message ID 20230815101936.261078-1-michael.tremer@ipfire.org
State Staged
Commit 21d8c56c8a38d2622d13b0a60f14b6d41a5f355b
Headers
Series [1/3] mountfs: Mount ExtraHD filesystems |

Commit Message

Michael Tremer Aug. 15, 2023, 10:19 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/initscripts/system/mountfs | 10 ++++++++++
 1 file changed, 10 insertions(+)
  

Patch

diff --git a/src/initscripts/system/mountfs b/src/initscripts/system/mountfs
index 81ed729c1..2e2ff0b5b 100644
--- a/src/initscripts/system/mountfs
+++ b/src/initscripts/system/mountfs
@@ -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