Commit Graph

45 Commits

Author SHA1 Message Date
Axel Dörfler
29ddbdbb53 * Moved the "var" directory to /boot/common/.
* Moved the "tmp" directory out of /var, and to /boot/common/cache/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 17:17:07 +00:00
Stephan Aßmus
c1b274fd67 * Removed auto mounter code from Tracker.
* Tracker forwards auto mounter related messages to the mount_server.
* Rewrote AutoMounterSettings to not know AutoMounter and use
  the layout-management.
* Moved the "Eject When Unmounting" setting into the Mount Settings.
* Launch the mount_server during boot, but delay the script until all
  previously mounted volumes have been mounted. This solves some annoying
  timing bugs during boot. For example when you have desktop backgrounds
  on other volumes and some servers don't deal well with the situation
  of links to add-ons on other volumes becoming valid with a delay...
* src/kits/tracker/Commands.h includes the private headers/private/
  mount/MountServer.h header, which made adjustments to the DiskUsage
  Jamfile necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:52:17 +00:00
Stephan Aßmus
bf81407606 * Removed Installer back into Deskbar menu by popular request.
* Changed the Bootscript and the InstallerFinishScript to only create and
  cleanup a link on the Desktop.
* Applied patch by idefix to fix removing the Installer link from volumes
  that contain spaces in the name. (Thanks!)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-08 09:58:51 +00:00
Axel Dörfler
49473fc52e * Added links to the Installer on the Desktop, and the Deskbar's Applications
list when booting from CD. Both are removed from the target in the
  InstallerFinishScript. This closes ticket #4342.
* Make Installer start in safemode as well.
* Are there any objections to always have the Installer link in the Deskbar?
  I see no real reason to leave it out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 08:58:26 +00:00
Ryan Leavengood
b6b0567fbd - Change Autostart directory name to launch.
- Move the launching of files in this directory from the Bootscript to the
UserBootscript.
- This means we now ship a working UserBootscript instead of just a sample.
- Updated documentation based on this change and Humdinger's suggestions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-20 19:21:18 +00:00
Ryan Leavengood
176b361595 Add an Autostart directory as an easy way to start applications at boot up.
The dead simple Bash code was just copied from Humdinger's patch on #1202. He
also suggested having a link on the Deskbar for this folder, but I don't know
if that is needed. We just need to document it, which I may do next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 21:26:36 +00:00
Axel Dörfler
6bfb1e8b2a * Removed the fake_app_server from the build, and launch the usual system
in safe mode.
* Removed the Terminal from the Bootscript.
* Ordered the servers alphabetically in HaikuImage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 17:55:28 +00:00
Axel Dörfler
759e46ea2c * Improved variable naming.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-05 15:59:21 +00:00
Bruno G. Albuquerque
68c8eecd08 - Clean up server output. Added more relevant information.
- Added the server to Bootscript.

This closes ticket #3446.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 14:15:00 +00:00
Axel Dörfler
9532f6844f * Removed the "cd" to home in /etc/profile, made sure that Tracker/Deskbar are
started from /boot/home. This closes ticket #3090.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 14:29:29 +00:00
Stephan Aßmus
31b2d189ab Change the Bootscript and Bootscript.cd to use the new isvolume -readonly-partition
feature and offer the user to boot into the Installer or into the Desktop (Live-CD
mode). Thanks to Vincent Duvert who offered a method that worked around some
interference from mysterious debug output...
The launching of the servers has been refactored, since that needs to be done anyways
before an alert can be shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 19:40:41 +00:00
Axel Dörfler
317bd7dda3 * Changed directory structure as suggested on the mailing list.
* Made the TimeZoneView less error prone, and also actually use Haiku code (the
  previous check didn't work since it used #if, not #ifdef).
* Also took the liberty to rename our boot loader to haiku_loader, since I had
  to update the nasm binary anyway. Updated the assembly sources to nasm 2.0.
* I haven't found where the synth location in the MIDI code is specified,
  though.
* Also, NetBootArchive, and FloppyBootImage haven't been updated yet. Will do
  so next.
* Some optional packages still put their license to beos/etc/licenses. I didn't
  update them yet, as we'll probably do so anyway at some point. Also, I think
  we might want to introduce a common/data/licenses instead for those.
* If you encounter any problems, please tell!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 09:02:44 +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
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
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
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
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
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
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
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
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
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