#!/bin/sh
. /etc/pldconf/ustawienia
export PLDCONF_EDITOR="$PLDCONF_EDITOR"
eval `dml -t "    _p_l_d_c_o_n_f 0.2.3"<< EOF
<meta title="pldconf" width=33> 
<br>
<menu id=res_menu res=1 height=11> 
<item id=ustawienia> Ustawienia pldconf
<item id=poldek> Dodaj/Usu programy
<item id=X> rodowisko graficzne
<item id=net> Sie 
<item id=win> Partycje Windows
<item id=boot> Uruchamianie systemu
<item id=inne> Inne 
<item id=sysinfo> Informacje o systemie
<item id=pomoc> Pomoc
<item id=autorzy> Autorzy
<item id=exit> Wyjcie
</menu>
EOF`

case $res_menu in 
ustawienia)
exec /usr/share/pldconf/ustawienia.sh
;;
poldek)
exec /usr/share/pldconf/poldek.sh
;;
X)
exec /usr/share/pldconf/X/X_menu.sh
;;
net)
exec /usr/share/pldconf/NET/net_menu.sh 
;;
win)
exec /usr/share/pldconf/win.pl
;;
boot)
exec /usr/share/pldconf/BOOT/boot_menu.sh
;;
inne)
exec /usr/share/pldconf/inne.sh
;;
sysinfo)
exec /usr/share/pldconf/SYSINFO/sysinfo_menu.sh
;;
pomoc)
vim /usr/share/pldconf/POMOC/README_pomoc.txt
exec /usr/sbin/pldconf
;;
autorzy)
exec /usr/share/pldconf/autorzy.sh
;;
exit)
exit
;;
esac
