SmartAudio/package/base-files/files/etc/init.d/done

20 lines
343 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=95
DEPEND=fstab,nativepower,mtp,adbd
boot() {
mount_root done
rm -f /sysupgrade.tgz
# process user commands
[ -f /etc/rc.local ] && {
sh /etc/rc.local
}
# set leds to normal state
. /etc/diag.sh
set_state done
nativepower_utils --module scene --set boot_complete
}