diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-03-04 14:55:44 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-03-04 18:59:08 +0300 |
commit | b346cbe89b24c6c62863cfcfd6e40078faba6098 (patch) | |
tree | a22d9b41d3774ea7e39db671e404af9dd222d514 /update.sh | |
parent | 18e35dfdbb5a828c646a6c0e24a394840123cfbf (diff) |
disable ncp user loginv0.46.38
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -244,6 +244,9 @@ EOF grep -q sleep "$F2BUNIT" || sed -i "/^ExecStart=/iExecStartPre=/bin/sleep 10" "$F2BUNIT" grep -q sleep "$SWPUNIT" || sed -i "/\<start)/asleep 30" "$SWPUNIT" + # disable ncp user login + chsh -s /usr/sbin/nologin ncp + } # end - only live updates exit 0 |