Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/basic-system/system.client.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2766 by niro, Tue Jan 14 10:34:57 2014 UTC revision 2767 by niro, Wed Feb 10 15:26:23 2016 UTC
# Line 174  set_system_autologon() Line 174  set_system_autologon()
174   *) help_system_autologon && return 1 ;;   *) help_system_autologon && return 1 ;;
175   esac   esac
176  }  }
177    
178    help_system_cmdline()
179    {
180     mecho "get system.cmdline [variable]"
181     mecho "  Prints the value or bool of a given cmdline variable"
182    }
183    
184    get_system_cmdline()
185    {
186     local variable="${CLASS_ARGV[0]}"
187     local retval
188     [[ -z ${variable} ]] && help_system_cmdline && return 1
189    
190     retval="$(read_cmdline ${variable})"
191     rvecho "${retval}"
192    }

Legend:
Removed from v.2766  
changed lines
  Added in v.2767