Пример #1
0
        /// <summary>
        /// Method called to start Aura_OS to run with filesystem and not logged to any user by default
        /// </summary>
        public void Run()
        {
            Console.Clear();

            Kernel.userLogged    = username;
            Kernel.JustInstalled = true;
            Kernel.running       = true;

            Console.Clear();
            //switch (Video.GetVideo())
            //{
            //    case "VGATextmode":
            //        //Kernel.AConsole = new System.Shell.VGA.VGAConsole(null);
            //        break;
            //    case "SVGA":
            //        // TO DO ?
            //        break;
            //    case "VESA":
            //        //Kernel.AConsole = new System.Shell.VESAVBE.VESAVBEConsole();
            //        break;
            //    default:
            //        //Kernel.AConsole = new System.Shell.VGA.VGAConsole(null);
            //        break;
            //}
            NetworkInit.Enable();
            WelcomeMessage.Display();
            Text.Display("logged", username);

            Console.WriteLine();

            Kernel.Logged = true;
        }
Пример #2
0
 /// <summary>
 /// Method called to start Aura_OS without using filesystem and loggged to "root"
 /// </summary>
 public void RunWithoutFS(bool nofsroot) //logged with root without using filesystem
 {
     if (!nofsroot)
     {
         RegisterLanguage();
     }
     Kernel.SystemExists = false;
     Kernel.userLogged   = "root";
     Kernel.Logged       = true;
     Console.Clear();
     //switch (Video.GetVideo())
     //{
     //    case "VGATextmode":
     //        //Kernel.AConsole = new System.Shell.VGA.VGAConsole(null);
     //        break;
     //    case "SVGA":
     //        // TO DO ?
     //        break;
     //    case "VESA":
     //        //Kernel.AConsole = new System.Shell.VESAVBE.VESAVBEConsole();
     //        break;
     //    default:
     //        //Kernel.AConsole = new System.Shell.VGA.VGAConsole(null);
     //        break;
     //}
     NetworkInit.Enable();
     WelcomeMessage.Display();
     Text.Display("logged", "root");
     Text.Display("nofilesystem");
     Console.WriteLine();
     Kernel.running = true;
 }
Пример #3
0
 /// <summary>
 /// Method called to start Aura_OS without using filesystem and loggged to "root"
 /// </summary>
 public void RunWithoutFS() //logged with root without using filesystem
 {
     RegisterLanguage();
     Kernel.SystemExists = false;
     Kernel.userLogged   = "root";
     Kernel.Logged       = true;
     Console.Clear();
     WelcomeMessage.Display();
     Text.Display("logged", "root");
     Text.Display("nofilesystem");
     Console.WriteLine();
 }
Пример #4
0
        /// <summary>
        /// Method called to start Aura_OS to run with filesystem and not logged to any user by default
        /// </summary>
        public void Run()
        {
            Console.Clear();

            Kernel.SystemExists  = true;
            Kernel.userLogged    = username;
            Kernel.JustInstalled = true;
            Kernel.running       = true;

            Console.Clear();

            WelcomeMessage.Display();
            Text.Display("logged", username);

            Console.WriteLine();

            Kernel.Logged = true;
        }
Пример #5
0
        /// <summary>
        /// Method called to start Aura_OS to run with filesystem and not logged to any user by default
        /// </summary>
        public void Run()
        {
            Console.Clear();

            Kernel.userLogged    = username;
            Kernel.JustInstalled = true;
            Kernel.running       = true;

            Console.Clear();
            switch (Video.GetVideo())
            {
            case "VGATextmode":
                Kernel.AConsole = new System.Shell.VGA.VGAConsole(null);
                break;

            case "SVGA":
                // TO DO ?
                break;

            case "SVGAII":
                Kernel.AConsole = new System.Shell.SVGAII.VMWareSVGAConsole();
                break;

            case "VBE":
                Kernel.AConsole = new System.Shell.VBE.VBEConsole();
                break;

            case "VESA":
                // TO DO ...
                break;

            default:
                Kernel.AConsole = new System.Shell.VGA.VGAConsole(null);
                break;
            }
            WelcomeMessage.Display();
            Text.Display("logged", username);

            Console.WriteLine();

            Kernel.Logged = true;
        }
Пример #6
0
        /// <summary>
        /// Method called to start Aura_OS without using filesystem and loggged to "root"
        /// </summary>
        public void RunWithoutFS(bool nofsroot) //logged with root without using filesystem
        {
            if (!nofsroot)
            {
                RegisterLanguage();
            }
            Kernel.SystemExists = false;
            Kernel.userLogged   = "root";
            Kernel.Logged       = true;
            Console.Clear();
            switch (Video.GetVideo())
            {
            case "VGATextmode":
                Kernel.AConsole = new System.Shell.VGA.VGAConsole(null);
                break;

            case "SVGA":
                // TO DO ?
                break;

            case "SVGAII":
                Kernel.AConsole = new System.Shell.SVGAII.VMWareSVGAConsole();
                break;

            case "VBE":
                Kernel.AConsole = new System.Shell.VBE.VBEConsole();
                break;

            case "VESA":
                // TO DO ...
                break;

            default:
                Kernel.AConsole = new System.Shell.VGA.VGAConsole(null);
                break;
            }
            WelcomeMessage.Display();
            Text.Display("logged", "root");
            Text.Display("nofilesystem");
            Console.WriteLine();
            Kernel.running = true;
        }