Commit Graph

45 Commits

Author SHA1 Message Date
Jérôme Duval a1e7587018 makebootable is now usable without absolute path
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-17 22:34:56 +00:00
Jérôme Duval ef0fc55562 use absolute path when launching makebootable as it seems unable to find its own path without it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-09 16:15:04 +00:00
Ingo Weinhold f23d0a6242 Implement shm_open() and shm_unlink(). The shared memory objects are
simply created as files in /boot/var/shared_memory/. The Bootscript
clears the directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-08 13:42:33 +00:00
Ingo Weinhold 46f2d5ea88 Moved /etc/post_install to /boot/common/boot and the fresh_install marker
file to /boot/common/settings. Repackaged OpenSSH accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-06 22:47:38 +00:00
Ingo Weinhold b2c7de8230 Reactivated the "fresh install" code in the Bootscript, but modified it
a bit:
* Added directory /etc/post_install, which can contain scripts that will
  be executed on the first boot.
* Moved the mimeset invocations to such a script. Use the "-apps"
  option instead of "-all". Since create_app_meta_mime() (and thus
  mimeset) work recursively now, running the commands does actually have
  an effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-04 13:10:42 +00:00
Ingo Weinhold 4b8941b10b * Adjusted launch() to accept parameters for the launched program.
* Removed launch_param_1().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-25 20:52:33 +00:00
Bruno G. Albuquerque 7de63c72e6 - Added function launch_param_1() to Bootscript. It launchs servers/programs
that requires a single parameter.
- Added launching mail_daemon to Bootscript. It will only start if the user
  set it to start on boot in the E-mail preferences app.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-25 16:35:35 +00:00
Jérôme Duval d8d5b63a94 makebootable once Installed did its job
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-29 15:40:49 +00:00
Stephan Aßmus c8fe52608c Disabled the mimeset trick for now, since it causes too many other
problems at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-07 21:06:23 +00:00
François Revol 63aba97736 It seems we need syslog daemon to get to the desktop... something wants it somewhere...
At least it boots to the Installer now :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-06 13:48:54 +00:00
François Revol 584c1e7f84 Run installer synchronously so quitting it will end the script.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-06 10:55:47 +00:00
François Revol 0b7f54ad6b Untested Bootscript.cd
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-06 01:20:09 +00:00
Stephan Aßmus 16eb448eb4 * The HaikuImage script will put a file "fresh_install" into
/boot/home/config/settings.
* The Bootscript will check for the existance of this file and updates the
  mime database with all the applications and preflets that come with the
  install. Then it removes the indicator file.

This fixes the problem that all the apps are not known to the system until
you run them once. Ie "Open With..." and such stuff works out of the box.
Feel free to find a more elegant way, I just found this simple and effective.
:-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-05 22:25:33 +00:00
Ingo Weinhold 2dd86b93a6 axeld + bonefish:
Adjusted PATH, LIBRARY_PATH, and the paths built into the runtime loader
to included the /boot/common tree.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 13:59:29 +00:00
Ingo Weinhold 98a8df5424 Always install ProcessController in the deskbar.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 21:15:38 +00:00
François Revol 6bd984106b This should probably work better when multiuser is not enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 01:36:28 +00:00
Axel Dörfler 93c2088983 * Removed all user paths from the default runtime_loader paths.
* $PATH is now set differently when booted in safe mode (just like LIBRARY_PATH,
  and ADDON_PATH already were).
* This closes ticket #1103.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-13 23:12:00 +00:00
Michael Pfeiffer 05e39c4565 Launch the print_server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 19:04:58 +00:00
Axel Dörfler 9ef37e3bc4 The networking server is now launched at system startup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 16:16:10 +00:00
Ryan Leavengood 342cf7f278 Bootscript change to account for the app_server now starting the input_server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-23 23:00:37 +00:00
Axel Dörfler 9172931102 Updated the Netscript to the syntax of the new commands.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-05 12:38:02 +00:00
Jérôme Duval 9047838ad6 added midi_server to the bootscript
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 21:57:15 +00:00
Axel Dörfler 94e881ade0 No longer redirects the boot stdio to /dev/dprintf - this gives a much better media
experience (as the media server dumps quite a lot, and the serial interface is too
slow to keep up).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 14:50:46 +00:00
Jérôme Duval dbca8117e1 activated dstcheck in BootScript
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 11:58:15 +00:00
Marcus Overhagen 462f769fab launch Tracker during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:28:35 +00:00
Marcus Overhagen 728fa950cd launch media_server during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:27:03 +00:00
Marcus Overhagen 28bb1af264 launch media_server during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:21:39 +00:00
Axel Dörfler 4b6321235c Now executes a UserBootscript if available.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-02 08:29:18 +00:00
Axel Dörfler 76fca6ee2c * Added Deskbar to the Bootscript.
* Redirects stdout to /dev/dprintf, so that serial debugging logs are a bit
  more complete for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:48:41 +00:00
Jérôme Duval 18505d40c2 added blank installer init and finish scripts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 21:43:58 +00:00
DarkWyrm 0f25271b5d Use our Terminal instead of MiniTerminal now that the server is stable enough to run it reliably
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 00:12:29 +00:00
Ingo Weinhold 97021af901 We now launch the registrar and the debug server before the app server. So
we get at least a stack trace when the app server crashes under qemu when
starting up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 12:31:59 +00:00
Axel Dörfler 35932b4d4e Small fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 16:26:30 +00:00
Axel Dörfler 2cafbe7535 Since Bochs 2.2 can finally run the Haiku app_server, it is now enabled
by default. Select "safe mode" in the boot menu to get to the old consoled.
Note, if you're using VESA mode, make sure you run in 32 bit, or the
app_server will crash.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 00:54:23 +00:00
Michael Lotz 4ce3301a57 This should now actually fix the recursive lookup of the net_stack_driver. We must only load the networking core once.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-13 14:19:20 +00:00
Michael Lotz 79de7f4dcb Added a static Netscript that is launched from the Bootscript. Everything commented out currently, more like a temporary tutorial on how to setup everything.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 18:24:09 +00:00
Axel Dörfler 6562f93e21 The fake_app_server is now installed and launched by default, so that
RUN_WITHOUT_APP_SERVER is no longer needed.
This reduces the hassle when switching between the real app_server and
consoled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-05 18:36:48 +00:00
Ingo Weinhold 9c1ea6d36e Launch the debug_server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 14:39:36 +00:00
Axel Dörfler c532a93d08 The syslog_daemon is now launched as well.
Some reorganization.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 02:46:12 +00:00
Ingo Weinhold 11446bc638 Start the registrar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:34:20 +00:00
Jérôme Duval 8ed1dffdb2 added dstcheck
it is still commented atm because we aren't ready to show windows in graphics mode


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 16:38:47 +00:00
Axel Dörfler 8f9787f0f8 Now sets the $SAFEMODE variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:39:09 +00:00
Axel Dörfler bc1994c4fb Our uname currently returns "Intel" as machine - changed SetupEnvironment
to take that into account.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 03:23:16 +00:00
Jérôme Duval 21d7f34c42 added clockconfig on startup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 23:33:02 +00:00
Axel Dörfler 1583190bd8 Added initial version of some scripts for the boot process.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 16:36:40 +00:00