Commit 4e295cfb authored by Leigh B Stoller's avatar Leigh B Stoller

Update script to run updatewires.

parent e972cb9d
#
# Change to wires table; add iface1 and iface2. We now require both sides
# of wires to have associated interfaces. Run updatewires script to get
# everything set up.
#
use strict;
use libinstall;
use installvars;
sub InstallUpdate($$)
{
my ($version, $phase) = @_;
#
# If something should run in the pre-install phase.
#
if ($phase eq "pre") {
}
#
# If something should run in the post-install phase.
#
if ($phase eq "post") {
Phase "updatewires", "Updating wires and interfaces", sub {
ExecQuietFatal("$TBROOT/sbin/updatewires");
};
}
return 0;
}
1;
# Local Variables:
# mode:perl
# End:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment