summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2005-10-01 18:32:21 +0000
committerSeth Mos <seth.mos@xs4all.nl>2005-10-01 18:32:21 +0000
commit97d4e30b36628dad3b456d9c687b13720752fa73 (patch)
tree4fbacecd6fa9084248635ead148fc5a49887fb07
parentfa94531eabae4ea27a0554bc699df7c2717356c1 (diff)
downloadpfsense-97d4e30b36628dad3b456d9c687b13720752fa73.zip
pfsense-97d4e30b36628dad3b456d9c687b13720752fa73.tar.gz
Add start and stop beep support
Requested by the angry mob outside
-rw-r--r--etc/inc/system.inc1
-rwxr-xr-xetc/rc2
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 2796354..3b26ba8 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -728,6 +728,7 @@ function system_reboot_sync() {
}
function system_reboot_cleanup() {
+ mwexec("/usr/local/bin/beep.sh stop");
captiveportal_radius_stop_all();
}
diff --git a/etc/rc b/etc/rc
index ed281e8..94f39d1 100755
--- a/etc/rc
+++ b/etc/rc
@@ -209,6 +209,8 @@ rm -rf /usr/local/pkg/pf/CVS
/usr/local/sbin/check_reload_status >/dev/null &
+/usr/local/bin/beep.sh start
+
echo "Bootup complete"
exit 0
OpenPOWER on IntegriCloud