* improve DSM package maintenance scripts to avoid things breaking for each DSM update

This commit is contained in:
Reinhard Pointner 2015-02-23 07:56:01 +00:00
parent d755103cd4
commit 4cca332ffc
1 changed files with 4 additions and 12 deletions

View File

@ -27,16 +27,8 @@ case "$1" in
exit 1 exit 1
fi fi
;; ;;
log)
LOGFILE="$SYNOPKG_PKGDEST/sysinfo.log"
"$SYNOPKG_PKGDEST/filebot.sh" -script fn:sysinfo > "$LOGFILE" 2>&1
echo $LOGFILE
exit 0
;;
*)
echo "start-stop-status called with unknown argument \`$1'" >&2
exit 1
;;
esac esac
# return successfully
exit 0