summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pppoe.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-12 11:17:27 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-12 11:18:52 +0200
commitcb76acad993760b2467667e1aa42d164db590ad8 (patch)
treec8c8112ca76c7d22a9d969709228c3e386d951c3 /src/conf_mode/interfaces-pppoe.py
parenta457c9d21f94db233e90268703f8bc97a1ab64ec (diff)
downloadvyos-1x-cb76acad993760b2467667e1aa42d164db590ad8.tar.gz
vyos-1x-cb76acad993760b2467667e1aa42d164db590ad8.zip
vyos.util: rename chmod_x() -> chmod_755()
Diffstat (limited to 'src/conf_mode/interfaces-pppoe.py')
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py
index 353a5a12c..8eed3159d 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -24,7 +24,7 @@ from netifaces import interfaces
from vyos.config import Config
from vyos.defaults import directories as vyos_data_dir
from vyos.ifconfig import Interface
-from vyos.util import chown, chmod_x, cmd
+from vyos.util import chown, chmod_755, cmd
from vyos import ConfigError
default_config_data = {
@@ -225,10 +225,10 @@ def generate(pppoe):
f.write(config_text)
# make generated script file executable
- chmod_x(script_pppoe_pre_up)
- chmod_x(script_pppoe_ip_up)
- chmod_x(script_pppoe_ip_down)
- chmod_x(script_pppoe_ipv6_up)
+ chmod_755(script_pppoe_pre_up)
+ chmod_755(script_pppoe_ip_up)
+ chmod_755(script_pppoe_ip_down)
+ chmod_755(script_pppoe_ipv6_up)
return None