blob: d53811c782c696ae019aa277ccb4473b5f1cf136 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
set -e
do_configure() {
if ! [ -e /etc/path_to_inst ]; then
echo "Creating initial /etc/path_to_inst"
echo '#path_to_inst_bootstrap_1' > /etc/path_to_inst
fi
if ! [ -e /etc/system ]; then
echo "Creating empty /etc/system"
touch /etc/system
fi
}
case "$1" in
configure)
do_configure
dpkg-trigger boot-archive
;;
esac
exit 0
|