Contents of /trunk/src/rc-plugin.h

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2547 - (hide annotations) (download) (as text)
Thu Apr 5 11:18:42 2007 UTC (11 years, 11 months ago) by uberlord
File MIME type: text/x-chdr
File size: 296 byte(s)
    Rewrite the core parts in C. We now provide librc so other programs can
    query runlevels, services and state without using bash. We also provide
    libeinfo so other programs can easily use our informational functions.

    As such, we have dropped the requirement of using bash as the init script
    shell. We now use /bin/sh and have strived to make the scripts as portable
    as possible. Shells that work are bash and dash. busybox works provided
    you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
    should disable find too.
    zsh and ksh do not work at this time.

    Networking support is currently being re-vamped also as it was heavily bash
    array based. As such, a new config format is available like so
    or like so
    config_eth0="' netmask' ' netmask'"

    We will still support the old bash array format provided that /bin/sh IS
    a link it bash.

    ChangeLog for baselayout-1 can be found in our SVN repo.
1 uberlord 2547 /*
2     librc-plugin.h
3     Private instructions to use plugins
4     Copyright 2007 Gentoo Foundation
5     Released under the GPLv2
6     */
8     #ifndef __LIBRC_PLUGIN_H__
9     #define __LIBRC_PLUGIN_H__
11     void rc_plugin_load ();
12     void rc_plugin_unload ();
13     void rc_plugin_run (rc_hook_t, const char *value);
15     #endif

  ViewVC Help
Powered by ViewVC 1.1.20