Skip to content

Commit

Permalink
bugfix & test
Browse files Browse the repository at this point in the history
  • Loading branch information
niaow committed Dec 30, 2017
1 parent ffe0d59 commit d5e4beb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/scripts/init.d/boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ depends() {
dep $i
done
}

start() {
echo booted
}
4 changes: 2 additions & 2 deletions src/scripts/rc.common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ dependencies() {
cmd=help
if [ "$2" == start ]; then
dependencies
done
for i in stop restart reload boot shutdown disable enable depscan runlevel help fail; do
fi
for i in start stop restart reload boot shutdown disable enable depscan runlevel help fail; do
if [ $i == "$2" ]; then
cmd=$2
fi
Expand Down

0 comments on commit d5e4beb

Please sign in to comment.