Skip to content

Commit

Permalink
Merge pull request #78 from mariux64/add-kvm-monitor-0.9
Browse files Browse the repository at this point in the history
kvm: Add kvm-monitor 0.9
  • Loading branch information
pmenzel committed Aug 2, 2016
2 parents 9067e44 + de5f078 commit 161edc4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions kvm-monitor-0.9-1.bee → kvm-monitor.be0
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env beesh

# Mon May 30 2016 -- kreitler

# BEE_VERSION kvm-monitor-0.9-2

mee_build() {

Expand All @@ -15,15 +14,15 @@ __RULE


chmod 644 51-raritan-kvm.rules
cd -
cd -

mkdir -pv ${B}/lib/udev
cd ${B}/lib/udev


# build inline
/usr/bin/cat > kvm_monitor.pl <<__'SCRIPT'
#!/usr/bin/perl -w
#!/usr/bin/perl -w

use strict;
# use Data::Dumper; $Data::Dumper::Sortkeys=1;
Expand All @@ -34,6 +33,7 @@ my %serial_to_name = qw(
960f2408004ca12a2641C894DA0F1B6A kvm03
96132408034ca1d22641C894DA0F1B6A kvm04
96112408034ca1d62641C894DA0F1B6A kvm05
960d2408004ca12eDAB76E6660AFB498 kvm06
96132408004ca11e2641C894DA0F1B6A kvm07
96132408004ca1322641C894DA0F1B6A kvm09
96fec24603c408f42641C894DA0F1B6A kvm10
Expand Down Expand Up @@ -69,7 +69,7 @@ exit;

The environment seen (kvm13)

ACTION=add
ACTION=add
ACTION=remove

==== event ====
Expand Down Expand Up @@ -115,7 +115,5 @@ __SCRIPT

cp -vax ${B}/* ${D}


}


0 comments on commit 161edc4

Please sign in to comment.