12 lines
336 B
Plaintext
Executable File
12 lines
336 B
Plaintext
Executable File
#!/bin/execlineb -W
|
|
importas -i XDG_CONFIG_HOME XDG_CONFIG_HOME
|
|
importas -i NAME NAME
|
|
|
|
s6-envdir -I ${XDG_CONFIG_HOME}/s6/env/libvirt
|
|
importas -D "${XDG_CONFIG_HOME}/libvirt/virt${NAME}d.conf" CONFIG DEFAULTCONFIG
|
|
|
|
s6-envdir -I ${XDG_CONFIG_HOME}/s6/env/libvirt.${NAME}
|
|
importas -D $DEFAULTCONFIG CONFIG CONFIG
|
|
|
|
virt${NAME}d -f $CONFIG
|