Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 226 Bytes
#!/bin/zsh
. /etc/grml/autoconfig.functions
STATUS=$(getbootparam status)
sfdisk /dev/sda <<EOF
0 88 0x0c
;
EOF
yes y | grml2usb --force --fat16 --bootoptions="netscript=$STATUS/DONE" /live/image /dev/sda1
shutdown -h now