]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
mountfs: Mount ExtraHD filesystems
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Aug 2023 09:47:25 +0000 (09:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Aug 2023 09:47:25 +0000 (09:47 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/mountfs

index 81ed729c1088c8c2b411ba65e5b897536ecf6225..2e2ff0b5b690d574edc73211887b53776743ba53 100644 (file)
@@ -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