changed deluser to userdel

pull/227/head
aatchison 2016-06-22 12:35:20 -05:00
parent 343f886f38
commit 7c154e939f
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
deluser %%INSTALL_USER%% input
deluser %%INSTALL_USER%% audio
deluser %%INSTALL_USER%% dialout
deluser %%INSTALL_USER%%
userdel %%INSTALL_USER%%
if [ -e /home/%%INSTALL_USER%% ]; then
rm -R /home/%%INSTALL_USER%%

View File

@ -126,6 +126,7 @@ function setup_init_script() {
setup_init_script "mycroft-messagebus"
setup_init_script "mycroft-skills"
setup_init_script "mycroft-speech-client"
if [ ${ARCH} = "armhf" ]; then
setup_init_script "mycroft-enclosure-client"
fi