Removing run creation from init script. (It would dissappear after reboot
any way, it is better in the init script.
This commit is contained in:
parent
590b56e610
commit
799944ac02
@ -1,9 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if ! getent passwd cualsea &> /dev/null; then
|
||||
sudo useradd -m cualsea -d /var/lib/cualsea -s /bin/bash &&
|
||||
sudo mkdir /run/cualsea &&
|
||||
sudo chown cualsea:cualsea /run/cualsea/
|
||||
sudo useradd -m cualsea -d /var/lib/cualsea -s /bin/bash
|
||||
fi
|
||||
current_dir=$(dirname $(realpath $0));
|
||||
cd $current_dir/cualsea-lib &&
|
||||
|
Loading…
Reference in New Issue
Block a user