Skip to content

Commit

Permalink
init: revert 7a9d1fe "init: minor clean up"
Browse files Browse the repository at this point in the history
  • Loading branch information
tokiclover committed Aug 31, 2014
1 parent 1b3c538 commit 2405c53
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions init
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ source $LIBDIR/functions || $sh -a
# @FUNCTION: domod
# @INTERNAL
# @DESCRIPTION: execute a module or user script passed as arg 1
function domod()
{
domod() {
msg -i "exec: $sh -aex $1..."
debug $sh -aex $1
if [ -f /run/env ]; then
Expand All @@ -75,8 +74,7 @@ function domod()
# @FUNCTION: lvl
# @INTERNAL
# @DESCRIPTION: make LeVeL and drop to rescue shell if $LVL = $RSH
function lvl()
{
lvl() {
msg -i ">>> Switching to init shell run level: $1"
export LVL=$1

Expand All @@ -95,8 +93,7 @@ function lvl()
# @FUNCTION: spld
# @INTERNAL
# @DESCRIPTION: run splash deamon
function spld()
{
spld() {
$ECK && for bin in fbcondecor_helper splash_util; do
debug -d bck $bin
done
Expand Down Expand Up @@ -135,8 +132,7 @@ function spld()
# @USAGE: <[type:]dev[:signature]>
# @DESCRIPTON: resume after a hibernation, TuxOnIce may work,
# the intrnal kernal implementation should be fixed/finished before use
function resume()
{
resume() {
local _asw _dev=$1 _img_sz=0 _hpr
msg -i "Resuming from hibernation..."

Expand Down

0 comments on commit 2405c53

Please sign in to comment.