summaryrefslogtreecommitdiffstats
path: root/perl-install/network/nfs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/nfs.pm')
-rw-r--r--perl-install/network/nfs.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/network/nfs.pm b/perl-install/network/nfs.pm
index 6c9a02b6b..58b2dab28 100644
--- a/perl-install/network/nfs.pm
+++ b/perl-install/network/nfs.pm
@@ -14,6 +14,10 @@ sub to_fstab_entry {
my ($class, $e) = @_;
$class->to_fstab_entry_raw($e, 'nfs');
}
+sub comment_to_string {
+ my ($class, $comment) = @_;
+ member($comment, qw(* 0.0.0.0/0.0.0.0 (everyone))) ? '' : $comment;
+}
sub from_dev {
my ($class, $dev) = @_;
$dev =~ m|(.*?):(.*)|;