mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
37 lines
505 B
Bash
37 lines
505 B
Bash
#!/bin/sh
|
|
# SUMMARY: LinuxKit package tests
|
|
# LABELS:
|
|
# For the top level group.sh also specify a 'NAME:' comment
|
|
|
|
# Source libraries. Uncomment if needed/defined
|
|
#. "${RT_LIB}"
|
|
#. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
|
|
|
|
|
group_init() {
|
|
# Group initialisation code goes here
|
|
return 0
|
|
}
|
|
|
|
group_deinit() {
|
|
# Group de-initialisation code goes here
|
|
return 0
|
|
}
|
|
|
|
CMD=$1
|
|
case $CMD in
|
|
init)
|
|
group_init
|
|
res=$?
|
|
;;
|
|
deinit)
|
|
group_deinit
|
|
res=$?
|
|
;;
|
|
*)
|
|
res=1
|
|
;;
|
|
esac
|
|
|
|
exit $res
|