slitaz-boot-scripts rev 455

network.sh: stop 'Unknown option -p' error msg
author Richard Dunbar <mojo@slitaz.org>
date Sat Mar 30 02:41:37 2019 -0400 (2 months ago)
parents 01ab2b1d9b4d
children 903ebc4acdcd
files etc/init.d/network.sh
line diff
     1.1 --- a/etc/init.d/network.sh	Tue Feb 26 08:21:44 2019 +0100
     1.2 +++ b/etc/init.d/network.sh	Sat Mar 30 02:41:37 2019 -0400
     1.3 @@ -69,7 +69,7 @@
     1.4  	local user="$(ps aux 2>/dev/null | grep [l]xde-session | awk 'END{print $2}')"
     1.5  	local rpid=''
     1.6  	[ -s "$npid" ] && rpid="-r $(cat $npid)"
     1.7 -	su -c "notify-send $rpid -p -i $icon 'Network' \"$2\"" - $user | tr -c 0-9 '\n' | tail -n1 > $npid
     1.8 +	su -c "notify-send $rpid -i $icon 'Network' \"$2\"" - $user | tr -c 0-9 '\n' | tail -n1 > $npid
     1.9  }
    1.10  
    1.11