Skip to content

Commit

Permalink
T3816: Partial revert "Remove unused scripts."
Browse files Browse the repository at this point in the history
This reverts parts of commit 5475f9a.
  • Loading branch information
c-po committed Sep 9, 2021
1 parent 8ba7cc7 commit 68fbc0c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile.am
Expand Up @@ -6,6 +6,7 @@ initddir = /etc/init.d
logrotatedir = /etc/logrotate.d
defaultdir = /etc/default
etc_shell_leveldir = $(sysconfdir)/shell/level
enumdir = $(datadir)/enumeration

if USE_UNIONFSFUSE
USE_UNIONFSFUSE = -DUSE_UNIONFSFUSE=1
Expand Down Expand Up @@ -136,6 +137,8 @@ share_perl5_DATA += lib/Vyatta/Interface.pm
share_perl5_DATA += lib/Vyatta/TypeChecker.pm
share_perl5_DATA += lib/Vyatta/ConfigOutput.pm

enum_SCRIPTS = scripts/enumeration/existing-interfaces

default_DATA = etc/default/vyatta-cfg
default_DATA += etc/default/vyatta-load-boot

Expand Down
1 change: 1 addition & 0 deletions debian/vyatta-cfg.install
@@ -1,4 +1,5 @@
etc
opt/vyatta/share/enumeration
opt/vyatta/share/vyatta-cfg/functions
opt/vyatta/sbin
opt/vyatta/etc
Expand Down
4 changes: 4 additions & 0 deletions scripts/enumeration/existing-interfaces
@@ -0,0 +1,4 @@
#!/bin/bash

ls /sys/class/net 2>/dev/null

0 comments on commit 68fbc0c

Please sign in to comment.