mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
rc.initial: yes, I'm that lazy
This commit is contained in:
parent
050442edf4
commit
3ffb835524
@ -48,12 +48,12 @@ echo " ${option99}"
|
||||
fi
|
||||
|
||||
echo
|
||||
read -p "Enter an option: " opmode
|
||||
read -p "Enter an option: " OPCODE
|
||||
echo
|
||||
|
||||
# see what the user has chosen
|
||||
case ${opmode} in
|
||||
0)
|
||||
case ${OPCODE} in
|
||||
0|exit|logout|quit)
|
||||
exit
|
||||
;;
|
||||
1)
|
||||
@ -99,6 +99,7 @@ case ${opmode} in
|
||||
/usr/local/etc/rc.installer
|
||||
;;
|
||||
*)
|
||||
/bin/sh -c "${OPCODE}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user