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 $"See /home/$MY_USERNAME/README for post-installation instructions."
|
||||||
echo ''
|
echo ''
|
||||||
fi
|
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
|
if [ ! -f $IMAGE_PASSWORD_FILE ]; then
|
||||||
reboot
|
reboot
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -265,6 +265,11 @@ fi
|
||||||
# export OC_PASS=""
|
# export OC_PASS=""
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
|
# add user menu on ssh login
|
||||||
|
if ! grep -q 'control' /home/$MYUSERNAME/.bashrc; then
|
||||||
|
echo 'control' >> /home/$MYUSERNAME/.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
clear
|
clear
|
||||||
echo $"New user $MY_USERNAME was created"
|
echo $"New user $MY_USERNAME was created"
|
||||||
if [ $SIP_EXTENSION ]; then
|
if [ $SIP_EXTENSION ]; then
|
||||||
|
|
Loading…
Reference in New Issue