10 lines
311 B
Bash
Executable file
10 lines
311 B
Bash
Executable file
#!/usr/bin/sh
|
|
echo "disable and stop user level supervision with s6"
|
|
sudo 66-all -v2 -t boot-user down
|
|
uname=$(id -nu 1000)
|
|
echo "enter your username or $uname will be used"
|
|
read uname
|
|
: "${uname:=$(id -nu 1000)}"
|
|
sudo -u $uname 66-all -v2 -t base down
|
|
sudo -u $uname 66-intree -zg
|
|
sudo 66-intree -zg boot-user
|