![Albert Hopkins](/assets/img/avatar_default.png)
Instead of having everything in the root directory, split them in seperate directories (appliances, scripts, & configs). This makes things a little tidier. Also added a now Makefile target, appliance-list, that prints a list of the available appliances. The split directory change made this easier.
12 lines
258 B
Bash
Executable File
12 lines
258 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
if [ ! -f /etc/firstboot ] ; then
|
|
echo Creating Airport database...
|
|
createuser -U postgres -D -l -R -S airport
|
|
createdb -U postgres -E utf8 -O airport airport
|
|
fi
|
|
|
|
su -c "/var/airport/bin/start-airport" airport
|
|
|
|
touch /etc/firstboot
|