mirror of https://github.com/OpenIPC/firmware.git
23 lines
447 B
Bash
Executable File
23 lines
447 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$1" in
|
|
start)
|
|
if [ ! -e /etc/system.ok ] && [ -e /usr/share/openipc/customizer.sh ]; then
|
|
echo "Run customizer script..."
|
|
sh /usr/share/openipc/customizer.sh
|
|
touch /etc/system.ok
|
|
fi
|
|
|
|
if [ ! -e /etc/network.ok ] && [ -e /usr/share/openipc/wireless.sh ]; then
|
|
echo "Run wireless script..."
|
|
sh /usr/share/openipc/wireless.sh
|
|
touch /etc/network.ok
|
|
fi
|
|
;;
|
|
|
|
*)
|
|
echo "Usage: $0 {start}"
|
|
exit 1
|
|
;;
|
|
esac
|