RUN-PARTS(8) System Manager's Manual RUN-PARTS(8) IME run-parts - zazene skripte ali programe v mapi POVZETEK run-parts [--test] [--verbose] [--debug] [--report] [--lsbsysinit] [--regex=RE] [--umask=umask] [--arg=argument] [--after=PROG] [--before=PROG] [--exit-on-error] [--help] [--version] [--list] [--reverse] [--] DIRECTORY [DIRECTORY ...] run-parts -V OPIS run-parts zazene vse najdene izvedljive datoteke v mapi directory poimenovane s spodaj opisanimi omejitvami. Druge datoteke in mape so tiho prezrte. Ce nista podani moznost --lsbsysinit ali pa moznost --regex, morajo biti imena sestavljena samo iz ASCII velikih in majhnih crk, stevilk, podcrtajev in vezajev. If the --lsbsysinit option is given, then the names must not end in .dpkg-old or .dpkg-dist or .dpkg-new or .dpkg-tmp, and must belong to one or more of the following namespaces: the LANANA-assigned namespace (^[a-z0-9]+$); the LSB hierarchical and reserved namespaces (^_?([a-z0-9_.]+-)+[a-z0-9]+$); and the Debian cron script namespace (^[a-zA-Z0-9_-]+$). Ce je podana moznost --regex, morajo imena ustrezati po meri narejenemu razsirjenemu logicnemu izrazu dolocenemu kot argument te moznosti. Files are run sequentially in the lexical sort order (according to the C/POSIX locale character collation rules) of their names unless the --reverse option is given, in which case they are run in the opposite order. If more than more DIRECTORY is specified, then files with the same name in earlier directories will take precedence over files in directories specified in later arguments. This allows run-parts to receive directories with scripts in both /usr and /etc but let files in /etc override scripts in /usr if they are named the same. The directory under /etc would need to be specified before the path under /usr for this to happen. MOZNOSTI --test izpise imena skript, ki bi se pognale, vendar jih ne zazene. --list print the names of the all matching files (not limited to executables), but don't actually run them. This option cannot be used with --test. -v, --verbose izpise ime vsake skripte na stderr pred zagonom --report podobno kot --verbose, vendar izpise le imena skript, ki imajo izhod. Ime skripte se izpise na stdout ali pa stderr glede na to kje se izpise prvi izhod skripte. -d, --debug print to stderr which scripts get selected for running and which don't. --reverse obrni vrstni red izvajanja skript --exit-on-error koncaj takoj, ko skript vrne ne nicelno izstopno kodo. --stdin multiplex stdin to scripts being run, using temporary file --lsbsysinit uporabi imenski prostor LSB namesto obicajnega obnasanja. --new-session zazene vsako skripto v loceni seji opravila. Ce se ta moznost uporabi, ubitje programa run-parts ne bo ubilo trenutno delujocih skript. Te bodo tekle do zakljucka. --regex=RE potrdi veljavnost imen datotek glede na po meri izdelan razsirjen logicni izraz RE. Glej odstavek PRIMERI za primere. -u, --umask=umask nastavi umask na umask pred poganjanjem skript. umask mora biti dolocen osmisko. Privzeto je umask nastavljen na 022. -a, --arg=argument podajte argument skripti. Uporabite --arg za vsak argument, ki ga zelite podati. -A, --after=program run program after each script runs. The program will be called with three arguments: script name, exit status, and total amount written to the output and error streams. The last argument will always be 0 unless the --report option is also specified. If this option is used multiple times, only the last one will take effect. If the called program exits with an error code, it won't be called again. -B, --before=program run program before running each script. The program will be called with one argument: the script name. If this option is used multiple times, only the last one will take effect. If the called program exits with an error code, it won't be called again. -- poda, da je to konec moznosti. Katerokoli ime datoteke po -- ne bo tolmaceno kot moznost, tudi ce se zacne z vezajem. -h, --help prikaze podatke o uporabi in konca. -V, --version prikaze razlicico in avtorske pravice in konca. PRIMERI Prikaze imena vseh datotek v /etc, ki se zacnejo s `p' in koncajo z `d': run-parts --list --regex '^p.*d$' /etc AVTORSKE PRAVICE Avtorske pravice (C) 1994 Ian Jackson. Avtorske pravice (C) 1996 Jeff Noxon. Avtorske pravice (C) 1996, 1997, 1998 Guy Maor Avtorske pravice (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Clint Adams run-parts je prosti program; oglejte si GNU General Public License razlicica 2 ali kasnejsa za pogoje kopiranja. Garancije ni. TRANSLATION This document is a translation. Regarding errors such as tihs one, contact , Debian 27. jun 2012 RUN-PARTS(8)