From: <abe...@us...> - 2015-11-23 16:30:25
|
Revision: 7346 http://sourceforge.net/p/astlinux/code/7346 Author: abelbeck Date: 2015-11-23 16:30:24 +0000 (Mon, 23 Nov 2015) Log Message: ----------- startup alert script, add -m to uname and prepare for genx86_64 board type Modified Paths: -------------- branches/1.0/project/astlinux/target_skeleton/etc/init.d/alert Modified: branches/1.0/project/astlinux/target_skeleton/etc/init.d/alert =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/init.d/alert 2015-11-23 16:03:15 UTC (rev 7345) +++ branches/1.0/project/astlinux/target_skeleton/etc/init.d/alert 2015-11-23 16:30:24 UTC (rev 7346) @@ -35,7 +35,7 @@ Hostname: $HOSTNAME Domain: $DOMAIN - Linux: $(uname -r) + Linux: $(uname -r -m) RAM Memory: $memtotal MB, Free $memfree MB Interface: $EXTIF (External) IPv4 Address: $(dev_to_ipv4_addresses $EXTIF)${INTIF:+ @@ -157,7 +157,7 @@ fi # Generate Alert Sounds (after finished booting) - if grep -q "astlinux=geni586" /proc/cmdline; then + if grep -q "astlinux=gen[ix][0-9]" /proc/cmdline; then if is_alert_sound_type startup; then play_alert_sound_type startup @@ -199,7 +199,7 @@ fi # Generate Alert Sounds (on reboot/shutdown) - if grep -q "astlinux=geni586" /proc/cmdline; then + if grep -q "astlinux=gen[ix][0-9]" /proc/cmdline; then if is_alert_sound_type shutdown; then play_alert_sound_type shutdown This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |