diff options
-rw-r--r-- | ivybanner | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -99,6 +99,8 @@ Getopt::Long::Configure('pass_through'); 'nocursor', 'help', 'override', 'size=s', 'smallsize' ); &usage if $opt{help}; +$conffile = $ENV{"HOME"} . "/.ivybanner" if ( -f $ENV{"HOME"} . "/.ivybanner"); + if ($opt{conf}) { if (not -f $opt{conf}) { die "No such file $opt{conf}\n"; @@ -1082,7 +1084,7 @@ Hide mouse cursor (for touchscreen usage). =item B<-conf> file -Specify configuration file. Default is /etc/ivybanner.conf +Specify configuration file. Default is $HOME/.ivybanner if available or /etc/ivybanner.conf otherwise. =item B<-dir> directory |