Add user menu
This commit is contained in:
parent
db4b04d2b2
commit
1dff37ebc9
|
@ -10224,6 +10224,10 @@ function install_final {
|
|||
echo $"See /home/$MY_USERNAME/README for post-installation instructions."
|
||||
echo ''
|
||||
fi
|
||||
# add user menu on ssh login
|
||||
if ! grep -q 'control' /home/$MYUSERNAME/.bashrc; then
|
||||
echo 'control' >> /home/$MYUSERNAME/.bashrc
|
||||
fi
|
||||
if [ ! -f $IMAGE_PASSWORD_FILE ]; then
|
||||
reboot
|
||||
fi
|
||||
|
|
|
@ -265,6 +265,11 @@ fi
|
|||
# export OC_PASS=""
|
||||
#fi
|
||||
|
||||
# add user menu on ssh login
|
||||
if ! grep -q 'control' /home/$MYUSERNAME/.bashrc; then
|
||||
echo 'control' >> /home/$MYUSERNAME/.bashrc
|
||||
fi
|
||||
|
||||
clear
|
||||
echo $"New user $MY_USERNAME was created"
|
||||
if [ $SIP_EXTENSION ]; then
|
||||
|
|
Loading…
Reference in New Issue