# Translating IsoDumper First, make sure you have installed the `gettext` and `intltool` package. Here are the steps to add/update a translation (you should run all scripts from the source root): 1. Get an up-to-date copy of the source files. Preferrably, make a clone on GitHub and clone it locally on your machine; this way you can later make a pull request to the main project. 2. Run `./tools/po-update.sh `; it will create/update the file `./po/.po`. 3. Edit `./po/.po` with your favourite editor (just make sure it saves the file with the UTF-8 encoding). For each string in english (msgid), edit the translation (msgstr); if you leave msgstr empty, the string will remain untranslated. Alternatively, you can use the excellent `poedit`. 4. Run `./tools/po-compile.sh`. It will bring up-to-date all the compiled language files, necessary at runtime. 5. Start IsoDumper (`./lib/isodumper.py`). By default it will pick up the system languge from your environment; to start it in another language, run `LANGUAGE= ./lib/isodumper.py`. You can edit the translation iteratively, just repeat from step 3. If the upstream changes, do a `git pull` and then repeat from step 2. lue='switch'/> Mageia fork of Fedora's Init ScriptsColin Guthrie [colin]
aboutsummaryrefslogtreecommitdiffstats
blob: b2a5c7e60e4f7b799556f20a13ff2b19e81a0505 (plain)
1
2
3
4
5
6
7
8
9
#include <sys/signal.h>
#include <unistd.h>
#include <stdlib.h>

int main() {
    signal(SIGTERM, SIG_IGN);
    while (1) sleep(20);
    exit(0);
}