| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # Author: Steven Shiau <steven _at_ clonezilla org> |
| 3 | # License: GPL |
| 4 | # This file should be in /usr/bin/, not in /usr/share/drbl, so drblpush can call it in the beginning. |
| 5 | |
| 6 | export LC_ALL=C |
| 7 | # Source DRBL setting |
| 8 | DRBL_SCRIPT_PATH="${DRBL_SCRIPT_PATH:-/usr/share/drbl}" |
| 9 | . /etc/drbl/drbl.confscip-shell source . . `/etc/drbl/drbl.conf`. |
| 10 | wanted=$1 |
| 11 | |
| 12 | eval return_var=\$$wanted |
| 13 | [scip-shell system . . `[`. -n "$return_var" ] && echoscip-shell system . . echo. $return_var |