mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
extrahd: Add UUID to table.
Fix blkid without cache does not work as nobody.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# Copyright (C) 2010 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -84,8 +84,11 @@ if ( "$ARGV[0]" eq "mount" ) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
} elsif ( "$ARGV[0]" eq "scanhd") {
|
||||
system("/usr/local/bin/scanhd $ARGV[1]");
|
||||
|
||||
} else {
|
||||
print "Usage: $0 (mount|umount) mountpoint\n";
|
||||
print "Usage: $0 (mount|umount|scanhd) mountpoint\n";
|
||||
}
|
||||
|
||||
############################################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user