Commit 3ffb8355 authored by Franco Fichtner's avatar Franco Fichtner

rc.initial: yes, I'm that lazy

parent 050442ed
...@@ -48,12 +48,12 @@ echo " ${option99}" ...@@ -48,12 +48,12 @@ echo " ${option99}"
fi fi
echo echo
read -p "Enter an option: " opmode read -p "Enter an option: " OPCODE
echo echo
# see what the user has chosen # see what the user has chosen
case ${opmode} in case ${OPCODE} in
0) 0|exit|logout|quit)
exit exit
;; ;;
1) 1)
...@@ -99,6 +99,7 @@ case ${opmode} in ...@@ -99,6 +99,7 @@ case ${opmode} in
/usr/local/etc/rc.installer /usr/local/etc/rc.installer
;; ;;
*) *)
/bin/sh -c "${OPCODE}"
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment