1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-07-06 18:00:13 +02:00
init/services/loopback.in
David Oberhollenzer 04a23330e4 Merge preprocessing of command lines
- Common function for splitting string into argument vector
 - Preprocess & split command lines while parsing the service file
 - Specify "before" and "after" dependencies in a single line

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-04 14:58:01 +02:00

9 lines
198 B
Plaintext

description configure network loopback device
type wait
target boot
before sysinit
after hwclock hostname
exec "@SBINPATH@/ip" addr add 127.0.0.1/8 dev lo brd +
exec "@SBINPATH@/ip" link set lo up