Giter Club home page Giter Club logo

rc's People

Contributors

sighook avatar

Watchers

 avatar

rc's Issues

get rid of rc.fix file

The rc.fix file is not documented and perhaps would not be at all. This file contains some X11 font-related checks and is executed by rc.multi.

I consider it ugly (in terms of K.I.S.S. & New Jersey) to include this file in the RC package. Xorg font packages already have post-install scripts that are doing the same thing. May be place rc.fix actions into the /etc/X11/xinit/xinitrc.d/ directory as one of the xinit startup script?

bootlogd(8) support

Implement support for sysvinit bootlogd(8) to record boot messages.
Currently only dmesg(8) dump is saved to /var/log/boot (see rc:123).

printf() isn't builtin by POSIX sh(1p)

printf (as function, not a binary) is not builtin by POSIX sh(1p) but we're using it.

We have the following printf() references:

$ grep -n printf rc*
rc.multi:16:    printf "starting services:"
rc.multi:18:            printf " %s" $SYSLOG
rc.multi:20:                    printf "%s" "[ERROR]"
rc.multi:23:            printf " %s" "$service"
rc.multi:25:                    printf "%s" "[ERROR]"

An alternative like echo -n is not POSIX too. 😄
If we're trying to refer to the printf as binary (/usr/bin/printf) we're breaking separate /usr boot, since the network setup is one of the service. 😄

By the time, dash(1) that we are using as sh(1) have printf builtin and seems like in the present situation, it is the least of the evils.

Figure out what can be done.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.