projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add an initscript
[oweals/openwrt.git]
/
openwrt
/
package
/
portmap
/
files
/
portmap.init
1
#!/bin/sh
2
3
BIN=portmap
4
DEFAULT=/etc/default/$BIN
5
[ -f $DEFAULT ] && . $DEFAULT
6
7
case $1 in
8
start)
9
$BIN $OPTIONS
10
;;
11
*)
12
echo "usage: $0 (start)"
13
exit 1
14
esac
15
16
exit $?