Advertisement
s243a

rc.network() - /etc/rc.d/rc.network - puppylinux

Oct 9th, 2016
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. # lines 117 to 125 of /etc/rc.d/rc.network/rc.network
  2. # http://www.pearltrees.com/s243a/success-message-puppylinux/id16440722
  3. # A couple of dialog messages to notify of sucess or failure
  4. success_message(){
  5.     if [ "$HAVEX" = "yes" ]; then
  6.       gxmessage -center -font "sans 16" -geometry 150x100 -borderless -timeout 1 -bg "green" -buttons "" -title "$L_TITLE_Success" "
  7.       $L_MESSAGE_Success!   " &
  8.     else
  9.       echo "$L_MESSAGE_Success!"
  10.     fi
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement