Use new module
authorJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:32:06 +0000 (21:32 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:32:06 +0000 (21:32 +0000)
vgetty/vgetty-lib.pl

index 7aa0f6a..6b1d6ad 100644 (file)
@@ -4,9 +4,9 @@
 # XXX DTMF command shells http://vocp.sourceforge.net/
 # XXX DTMF terminals http://telephonectld.sourceforge.net/
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # vgetty_inittabs()
 # Returns a list of inittab entries for mgetty, with options parsed