summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2017-04-29 15:47:18 +0200
committerKim Hagen <kim.sidney@gmail.com>2017-04-29 15:47:18 +0200
commit6e334db424636f7612dd6d1f700b3be4197f5ec4 (patch)
tree6ce45a39e46769a16b20b2db873b6994c6cf36bc /scripts
parente805702c59e62a5ce3a9258f2e0db1cc161291fe (diff)
downloadvyatta-cfg-system-6e334db424636f7612dd6d1f700b3be4197f5ec4.tar.gz
vyatta-cfg-system-6e334db424636f7612dd6d1f700b3be4197f5ec4.zip
update udev folder location and partially fix T290
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init4
-rwxr-xr-xscripts/system/vyatta_interface_rescan2
-rwxr-xr-xscripts/vyatta_net_name2
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index eaf4dbd5..62eac9e7 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -98,8 +98,8 @@ clear_or_override_config_files ()
}
update_interface_config () {
- if [ -d /dev/.udev/vyatta ]; then
- $vyatta_sbindir/vyatta_interface_rescan /dev/.udev/vyatta $BOOTFILE
+ if [ -d /run/udev/vyatta ]; then
+ $vyatta_sbindir/vyatta_interface_rescan /run/udev/vyatta $BOOTFILE
fi
}
diff --git a/scripts/system/vyatta_interface_rescan b/scripts/system/vyatta_interface_rescan
index eb45da60..2e8ad8ca 100755
--- a/scripts/system/vyatta_interface_rescan
+++ b/scripts/system/vyatta_interface_rescan
@@ -98,7 +98,7 @@ sub get_phy {
return $1;
}
-# vyatta_net_name leaves files in /dev/.udev/vyatta
+# vyatta_net_name leaves files in /run/udev/vyatta
# the filename is the interface and the contents are the hardware id
sub interface_rescan {
my ($VYATTAUDEV, $BOOTFILE) = @_;
diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name
index 90dd8615..53ae9fba 100755
--- a/scripts/vyatta_net_name
+++ b/scripts/vyatta_net_name
@@ -23,7 +23,7 @@ use Fcntl qw(:flock);
my $BOOTFILE = "/opt/vyatta/etc/config/config.boot";
my $VYATTACFG = "/opt/vyatta/config/active";
-my $UDEVDIR = "/dev/.udev/";
+my $UDEVDIR = "/run/udev/";
my $VYATTAUDEV = $UDEVDIR . "vyatta";
my $LOCKFILE = $UDEVDIR . ".vyatta-lock";
my $UDEVLOG = $UDEVDIR . "log/";