Skip to content
Snippets Groups Projects
Commit 280b0e77 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.bugfix

parent 9f16be98
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,7 @@ elif [[ "$subcommand" = _startup ]]; then
elif [[ "$subcommand" = _startup_all ]]; then
# systemd should call this service as root, and it will spawn subprocess for all users with sudo
[[ "$(whoami)" != root ]] && lcf_die "$0 _startup_all started as non-root. Exit because sudo might fail."
local ar_uname=($(lci_state_file_list /etc/linuxconf.conf init_done)) || lcf_die "List all initialized users: lci_state_file_list failed"
ar_uname=($(lci_state_file_list /etc/linuxconf.conf init_done)) || lcf_die "List all initialized users: lci_state_file_list failed"
for uname in "${ar_uname[@]}"; do
lcf_echo2 "Spawn subprocess '$0 _startup' as user $uname..."
sudo -u "$uname" "$0" _startup
......
set -e
tar -cvzf /tmp/test.tgz examples
netpush /tmp/test.tgz
netpush /tmp/test.tgz linuxconf
echo "
TODO:
TEST >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
rm /mnt/fsdisk/svm/vm/archtest/ -r
pgkill archtest
......@@ -13,4 +13,6 @@ sudo su
cd /
curl https://recolic.cc/tmp/test.tgz | tar xvzf -
cd examples/archlinux-gnome/
./linuxconf.wrapper register masterconf.sh
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment