From 6957553e0a05dd60d5a6e80c609ae3c9ee9d4728 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 23 Mar 2016 20:46:43 -0300 Subject: Fix deprecation warnings --- templates/sane.d/net.conf.erb | 2 +- templates/sane.d/saned.conf.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/sane.d/net.conf.erb b/templates/sane.d/net.conf.erb index d85971c..479a664 100644 --- a/templates/sane.d/net.conf.erb +++ b/templates/sane.d/net.conf.erb @@ -12,4 +12,4 @@ connect_timeout = 15 # directly or through the net backend. Going through the net backend # may be necessary to access devices that need special privileges. # localhost -<%= server %> +<%= @server %> diff --git a/templates/sane.d/saned.conf.erb b/templates/sane.d/saned.conf.erb index 38ca9ed..27cc475 100644 --- a/templates/sane.d/saned.conf.erb +++ b/templates/sane.d/saned.conf.erb @@ -25,7 +25,7 @@ data_portrange = 10000 - 10100 #192.168.0.1/29 #[2001:7a8:185e::42:12] #[2001:7a8:185e::42:12]/64 -<%= access_list %> +<%= @access_list %> # NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and # /etc/services must also be properly configured to start -- cgit v1.2.3